changeset 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 7efff7985e5d
children c0961d8cb0fb
files src/protocols/jabber/iq.c src/util.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 
--- 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;