changeset 7791:21be2d9e8399

[gaim-migrate @ 8437] what I came up with while disconnected committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 07 Dec 2003 18:44:49 +0000
parents c2e391c480b6
children 27f55b264446
files src/log.c src/stringref.h
diffstat 2 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/log.c	Sun Dec 07 16:41:24 2003 +0000
+++ b/src/log.c	Sun Dec 07 18:44:49 2003 +0000
@@ -716,7 +716,7 @@
 	int logfound = 0;
 	int lastoff = 0;
 	int newlen;
-	time_t lasttime;
+	time_t lasttime = 0;
 
 	GaimLog *log = NULL;
 	GList *list = NULL;
--- a/src/stringref.h	Sun Dec 07 16:41:24 2003 +0000
+++ b/src/stringref.h	Sun Dec 07 18:44:49 2003 +0000
@@ -33,17 +33,17 @@
  * directly!
  */
 typedef struct _GaimStringref {
-	unsigned int ref;	/**< The reference count of this string.
-	                         *   Note that reference counts are only
-				 *   31 bits, and the high-order bit
-				 *   indicates whether this string is up
-				 *   for GC at the next idle handler...
-				 *   But you aren't going to touch this
-				 *   anyway, right? */
-	char value[0];		/**< The string contained in this ref.
-	                         *   Notice that it is simply "hanging
-				 *   off the end" of the ref ... this
-				 *   is to save an allocation. */
+	guint32 ref;	/**< The reference count of this string.
+					 *   Note that reference counts are only
+					 *   31 bits, and the high-order bit
+					 *   indicates whether this string is up
+					 *   for GC at the next idle handler...
+					 *   But you aren't going to touch this
+					 *   anyway, right? */
+	char value[0];	/**< The string contained in this ref.
+					 *   Notice that it is simply "hanging
+					 *   off the end" of the ref ... this
+					 *   is to save an allocation. */
 } GaimStringref;
 
 /**