Mercurial > pidgin.yaz
changeset 507:d17547ff9c2a
[gaim-migrate @ 517]
should fix when people try to send you 0-byte files
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 19 Jul 2000 23:55:53 +0000 |
parents | 58af37870fdd |
children | 1181582366f5 |
files | src/toc.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/toc.c Wed Jul 19 22:56:42 2000 +0000 +++ b/src/toc.c Wed Jul 19 23:55:53 2000 +0000 @@ -657,7 +657,8 @@ for (i--; i >= 0; i--) g_free(messages[i]); - accept_file_dialog(ft); + if (totalsize) /* sanity check */ + accept_file_dialog(ft); } else if (!strcmp(uuid, FILE_GET_UID)) { /* we're sending a file */ for (i=0; i<4; i++) {