comparison src/util.c @ 9722:25866d09063d

[gaim-migrate @ 10583] Nathan said it looked like I may have been using something without initializing it. It doesn't seem like it to me, but I thought I'd ask other people. This is my way of asking :-) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 08 Aug 2004 16:56:34 +0000
parents 8158d148b3c2
children 242a5a97c952
comparison
equal deleted inserted replaced
9721:7efff7985e5d 9722:25866d09063d
502 } 502 }
503 503
504 time_t 504 time_t
505 gaim_str_to_time(const char *timestamp, gboolean utc) 505 gaim_str_to_time(const char *timestamp, gboolean utc)
506 { 506 {
507 time_t retval = 0;
507 struct tm *t; 508 struct tm *t;
508 time_t retval = 0;
509 char buf[32]; 509 char buf[32];
510 char *c; 510 char *c;
511 int tzoff = 0; 511 int tzoff = 0;
512 512
513 time(&retval); 513 time(&retval);