changeset 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 c4c28874ecd3
children 6fe8008d6560
files src/util.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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