# HG changeset patch # User Eric Warmenhoven # Date 1005812386 0 # Node ID 9747583279d12c4ac522d5dfb48493fa80c89d61 # Parent 757688c301b501cf4d5bb667e50de18834177327 [gaim-migrate @ 2732] eh. committer: Tailor Script diff -r 757688c301b5 -r 9747583279d1 src/protocols/toc/toc.c --- a/src/protocols/toc/toc.c Wed Nov 14 23:42:14 2001 +0000 +++ b/src/protocols/toc/toc.c Thu Nov 15 08:19:46 2001 +0000 @@ -1122,7 +1122,8 @@ static void toc_chat_invite(struct gaim_connection *g, int id, char *message, char *name) { char buf[BUF_LONG]; - g_snprintf(buf, sizeof(buf) / 2, "toc_chat_invite %d \"%s\" %s", id, message, normalize(name)); + g_snprintf(buf, sizeof(buf) / 2, "toc_chat_invite %d \"%s\" %s", id, + message ? message : "", normalize(name)); sflap_send(g, buf, -1, TYPE_DATA); }