comparison src/server.c @ 5240:a75c799e3db7

[gaim-migrate @ 5611] that was stupid. 1 memleak down, more to go committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 27 Apr 2003 17:10:02 +0000
parents 890b29f00b68
children d635e8fe2fba
comparison
equal deleted inserted replaced
5239:0ff6418fda05 5240:a75c799e3db7
1364 who = angel; 1364 who = angel;
1365 message = buffy; 1365 message = buffy;
1366 1366
1367 1367
1368 1368
1369 buf = g_malloc(MAX(strlen(message) * 2, 8192));
1370 strcpy(buf, message);
1371
1372 if (convo_options & OPT_CONVO_SEND_LINKS) 1369 if (convo_options & OPT_CONVO_SEND_LINKS)
1373 buf = linkify_text(message); 1370 buf = linkify_text(message);
1374 else 1371 else
1375 buf = g_strdup(message); 1372 buf = g_strdup(message);
1376 1373