# HG changeset patch # User Mark Doliner # Date 1091984194 0 # Node ID 25866d09063d57329a8cc5a36dafe94cd850d9d2 # Parent 7efff7985e5d33e965d3f51783a8f0f7bac5a5a0 [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 diff -r 7efff7985e5d -r 25866d09063d src/protocols/jabber/iq.c --- a/src/protocols/jabber/iq.c Sun Aug 08 16:52:58 2004 +0000 +++ b/src/protocols/jabber/iq.c Sun Aug 08 16:56:34 2004 +0000 @@ -170,6 +170,7 @@ xmlnode *query; time_t now_t; struct tm *now; + time(&now_t); now = localtime(&now_t); diff -r 7efff7985e5d -r 25866d09063d src/util.c --- a/src/util.c Sun Aug 08 16:52:58 2004 +0000 +++ b/src/util.c Sun Aug 08 16:56:34 2004 +0000 @@ -504,8 +504,8 @@ time_t gaim_str_to_time(const char *timestamp, gboolean utc) { + time_t retval = 0; struct tm *t; - time_t retval = 0; char buf[32]; char *c; int tzoff = 0;