Mercurial > pidgin
diff src/toc.c @ 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 | 6a92cd7322cc |
| children | eaddaa0dbbcb |
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++) {
