# HG changeset patch # User Nathan Walp # Date 1047652137 0 # Node ID 015f242ae01423e53cf91ab948de84f4e624321f # Parent be590660a9c2b7298a53dddbbdb8dd1f263ce04d [gaim-migrate @ 5089] it's amazing the bugs you can still find running on only 4.5 hours of sleep ;-) diff -r be590660a9c2 -r 015f242ae014 src/util.c --- 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 "
" over "\n"), account for the