diff src/util.c @ 4771:912bacf989d7

[gaim-migrate @ 5089] it's amazing the bugs you can still find running on only 4.5 hours of sleep ;-) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 14 Mar 2003 14:28:57 +0000
parents 4bdd9a5fd026
children 677d3cb193a1
line wrap: on
line diff
--- 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