diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-03-20 23:32:48 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-03-20 23:32:48 +0000 |
commit | b8a986be06719417158c1612d2b68b65214d0742 (patch) | |
tree | a2713ef4e3df32eaf6350728848c4a6b4eabfd1a /tests/libtest/lib1900.c | |
parent | 1c44f83e541ab78537dba762012643f9955bc72b (diff) |
lib1900.c: fix compilation warning
warning: declaration of 'time' shadows a global declaration
Diffstat (limited to 'tests/libtest/lib1900.c')
-rw-r--r-- | tests/libtest/lib1900.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/lib1900.c b/tests/libtest/lib1900.c index b2a943440..7bee97a21 100644 --- a/tests/libtest/lib1900.c +++ b/tests/libtest/lib1900.c @@ -57,7 +57,7 @@ write_callback(void *contents, size_t size, size_t nmemb, void *userp) int parse_url_file(const char *filename) { FILE *f; - int time; + int filetime; char buf[200]; num_handles = 0; @@ -69,8 +69,8 @@ int parse_url_file(const char *filename) return 0; while(!feof(f)) { - if(fscanf(f, "%d %s\n", &time, buf)) { - urltime[num_handles] = time; + if(fscanf(f, "%d %s\n", &filetime, buf)) { + urltime[num_handles] = filetime; urlstring[num_handles] = strdup(buf); num_handles++; continue; |