[gaim-migrate @ 5089]

Fri, 14 Mar 2003 14:28:57 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Fri, 14 Mar 2003 14:28:57 +0000
changeset 4771
015f242ae014
parent 4770
be590660a9c2
child 4772
a7f2b699c0bc

[gaim-migrate @ 5089]
it's amazing the bugs you can still find running on only 4.5 hours of sleep ;-)

src/util.c file | annotate | diff | comparison | revisions
--- a/src/util.c	Fri Mar 14 11:38:21 2003 +0000
+++ b/src/util.c	Fri Mar 14 14:28:57 2003 +0000
@@ -796,6 +796,9 @@
 	gchar *sp, *dest;
 	gulong destsize;
 
+	if(!src)
+		return NULL;
+
 	/*
 	 * All we need do is multiply the number of newlines by 3 (the
 	 * additional length of "<BR>" over "\n"), account for the

mercurial