Mercurial > pidgin.yaz
comparison src/server.c @ 414:f9dc74875833
[gaim-migrate @ 424]
i really wish solaris' libc would handle null arguments better. for example,
in strlen, all they'd have to do is at the very top, add one line that says
if (!arg) return arg;
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 16 Jun 2000 10:01:10 +0000 |
parents | a330017b3aa4 |
children | 0d4e80bdb96b |
comparison
equal
deleted
inserted
replaced
413:7ea55575cc01 | 414:f9dc74875833 |
---|---|
919 } | 919 } |
920 c = c->next; | 920 c = c->next; |
921 } | 921 } |
922 #endif | 922 #endif |
923 | 923 |
924 g_snprintf(buf2, sizeof(buf2), "User '%s' invites you to buddy chat room: '%s'\n%s", who, name, message); | 924 if (message) |
925 g_snprintf(buf2, sizeof(buf2), "User '%s' invites you to buddy chat room: '%s'\n%s", who, name, message); | |
926 else | |
927 g_snprintf(buf2, sizeof(buf2), "User '%s' invites you to buddy chat room: '%s'\n", who, name); | |
925 | 928 |
926 d = gtk_dialog_new(); | 929 d = gtk_dialog_new(); |
927 gtk_widget_realize(d); | 930 gtk_widget_realize(d); |
928 aol_icon(d->window); | 931 aol_icon(d->window); |
929 | 932 |