diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-05-13 16:59:30 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-13 16:59:30 +0100 |
commit | 4784273195dbf4a8efb6bd6480545e532b07a4fc (patch) | |
tree | d02baf51e37ab0e37be3b1ec92d07508326f5dc7 /utils/utils.c | |
parent | 65323462772542194fd4637172f93ac5b6b27d7e (diff) | |
download | netsurf-4784273195dbf4a8efb6bd6480545e532b07a4fc.tar.gz netsurf-4784273195dbf4a8efb6bd6480545e532b07a4fc.tar.bz2 |
fix typo in nsc_time_strptime
Diffstat (limited to 'utils/utils.c')
-rw-r--r-- | utils/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils.c b/utils/utils.c index f2f69e2ea..de0de0b72 100644 --- a/utils/utils.c +++ b/utils/utils.c @@ -579,7 +579,7 @@ char *nsc_time_strptime(const char *s, const char *format, struct tm *tm) return NULL; } - esecs = (time_t)strtoll(a, &endptr, 10); + esecs = (time_t)strtoll(s, &endptr, 10); gtm = gmtime(esecs); *tm = *gtm; |