| 1 |
diff -up dhcp-4.1.0/common/parse.c.64-bit_lease_parse dhcp-4.1.0/common/parse.c
|
| 2 |
--- dhcp-4.1.0/common/parse.c.64-bit_lease_parse 2008-10-08 06:26:42.000000000 -1000
|
| 3 |
+++ dhcp-4.1.0/common/parse.c 2009-07-09 16:22:05.000000000 -1000
|
| 4 |
@@ -905,8 +905,8 @@ TIME
|
| 5 |
parse_date_core(cfile)
|
| 6 |
struct parse *cfile;
|
| 7 |
{
|
| 8 |
- int guess;
|
| 9 |
- int tzoff, wday, year, mon, mday, hour, min, sec;
|
| 10 |
+ TIME guess;
|
| 11 |
+ long int tzoff, wday, year, mon, mday, hour, min, sec;
|
| 12 |
const char *val;
|
| 13 |
enum dhcp_token token;
|
| 14 |
static int months [11] = { 31, 59, 90, 120, 151, 181,
|