diff options
author | jcid <devnull@localhost> | 2008-09-30 16:32:41 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-09-30 16:32:41 +0200 |
commit | 0f7c6294d403e3ed80961e91f906f118e0f0adc5 (patch) | |
tree | 151cb6cc9f333a51ba15fb66ac4480bb4da0e0fa /dpi/cookies.c | |
parent | 6deac7761c79417469c515268ba010a5f1fd60fb (diff) |
- s/todo:/TODO:/g
Diffstat (limited to 'dpi/cookies.c')
-rw-r--r-- | dpi/cookies.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dpi/cookies.c b/dpi/cookies.c index 6cf3b4fc..fc52a4ef 100644 --- a/dpi/cookies.c +++ b/dpi/cookies.c @@ -23,7 +23,7 @@ * add comments, remove leaks, etc. */ -/* Todo: this server is not assembling the received packets. +/* TODO: this server is not assembling the received packets. * This means it currently expects dillo to send full dpi tags * within the socket; if that fails, everything stops. */ @@ -533,7 +533,7 @@ static time_t Cookies_create_timestamp(const char *expires) day = strtol(cp + 2, NULL, 10); month = Cookies_get_month(cp + 5); year = strtol(cp + 9, &cp, 10); - /* todo: tricky, because two digits for year IS ambiguous! */ + /* TODO: tricky, because two digits for year IS ambiguous! */ year += (year < 70) ? 2000 : ((year < 100) ? 1900 : 0); hour = strtol(cp + 1, NULL, 10); minutes = strtol(cp + 4, NULL, 10); |