]> granicus.if.org Git - curl/commit
Curl_gmtime: added a portable gmtime
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Feb 2011 14:00:48 +0000 (15:00 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Feb 2011 14:00:48 +0000 (15:00 +0100)
commit54d9f060b4b0a8fb5fa006813e4db1ca5c1a07e8
tree119331774fece19f0d5b727c1be50184b87298df
parent2cacd82661b4a46ea52a23099ce0b23046a1f172
Curl_gmtime: added a portable gmtime

Instead of polluting many places with #ifdefs, we create a single place
for this function, and also check return code properly so that a NULL
pointer returned won't cause problems.
lib/file.c
lib/ftp.c
lib/gtls.c
lib/http.c
lib/parsedate.c
lib/parsedate.h