Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
506:58af37870fdd | 507:d17547ff9c2a |
---|---|
655 g_free(tmp); | 655 g_free(tmp); |
656 | 656 |
657 for (i--; i >= 0; i--) | 657 for (i--; i >= 0; i--) |
658 g_free(messages[i]); | 658 g_free(messages[i]); |
659 | 659 |
660 accept_file_dialog(ft); | 660 if (totalsize) /* sanity check */ |
661 accept_file_dialog(ft); | |
661 } else if (!strcmp(uuid, FILE_GET_UID)) { | 662 } else if (!strcmp(uuid, FILE_GET_UID)) { |
662 /* we're sending a file */ | 663 /* we're sending a file */ |
663 for (i=0; i<4; i++) { | 664 for (i=0; i<4; i++) { |
664 sscanf(strtok(NULL, ":"), "%d", &unk[i]); | 665 sscanf(strtok(NULL, ":"), "%d", &unk[i]); |
665 if (unk[i] == 10001) | 666 if (unk[i] == 10001) |