commit | 04158e04591efea20f34c8dc83002e19056a5590 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Feb 02 10:48:06 2009 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Feb 02 10:48:06 2009 +0000 |
tree | 1deace5081207ddefa831e024e5914a11a8aaeeb | |
parent | 512c8ae0537ad2ffcb70db03ca50b532781ae799 [diff] [blame] |
udhcpd: add code which rejects lease files with suspicious or old timestamp. *: s/time(0)/time(NULL)/g
diff --git a/networking/httpd.c b/networking/httpd.c index 3a2e6b1..fc8b512 100644 --- a/networking/httpd.c +++ b/networking/httpd.c
@@ -969,7 +969,7 @@ const char *error_page = NULL; #endif unsigned i; - time_t timer = time(0); + time_t timer = time(NULL); char tmp_str[80]; int len;