Mercurial > pidgin.yaz
changeset 125:bfe26481cff5
[gaim-migrate @ 135]
Segfault if not in buddy list. Nice to be able to talk to strangers :P
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 16 Apr 2000 02:49:09 +0000 |
parents | 5f294f7c4f2e |
children | b4cd83f1d0b8 |
files | src/conversation.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Sun Apr 16 02:01:48 2000 +0000 +++ b/src/conversation.c Sun Apr 16 02:49:09 2000 +0000 @@ -735,7 +735,7 @@ if (flags & WFLAG_RECV) { strcpy(colour, "#ff0000"); b = find_buddy(c->name); - if (b->uc & UC_UNAVAILABLE) { + if (b && (b->uc & UC_UNAVAILABLE)) { who = malloc(strlen(c->name) + 24); sprintf(who, "Auto-response from %s", c->name); } else