Mercurial > pidgin
comparison src/protocols/toc/toc.c @ 4201:511c2b63caa4
[gaim-migrate @ 4432]
Some code cleanups to remove warnings and fix up indenting a little.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sat, 04 Jan 2003 21:01:32 +0000 |
| parents | 474265997752 |
| children | cd84b0fd63fc |
comparison
equal
deleted
inserted
replaced
| 4200:c8fb43808a4b | 4201:511c2b63caa4 |
|---|---|
| 901 for (i--; i >= 0; i--) | 901 for (i--; i >= 0; i--) |
| 902 g_free(messages[i]); | 902 g_free(messages[i]); |
| 903 | 903 |
| 904 debug_printf("English translation of RVOUS_PROPOSE: %s requests Send File (i.e." | 904 debug_printf("English translation of RVOUS_PROPOSE: %s requests Send File (i.e." |
| 905 " send a file to you); %s:%d (verified_ip:port), %d files at" | 905 " send a file to you); %s:%d (verified_ip:port), %d files at" |
| 906 " total size of %ld bytes.\n", user, vip, port, files, totalsize); | 906 " total size of %d bytes.\n", user, vip, port, files, totalsize); |
| 907 accept_file_dialog(ft); | 907 accept_file_dialog(ft); |
| 908 } else if (!strcmp(uuid, FILE_GET_UID)) { | 908 } else if (!strcmp(uuid, FILE_GET_UID)) { |
| 909 /* they want us to send a file */ | 909 /* they want us to send a file */ |
| 910 int unk[4], i; | 910 int unk[4], i; |
| 911 char *messages[4], *tmp; | 911 char *messages[4], *tmp; |
| 1527 static void debug_header(struct file_transfer *ft) { | 1527 static void debug_header(struct file_transfer *ft) { |
| 1528 struct file_header *f = (struct file_header *)ft; | 1528 struct file_header *f = (struct file_header *)ft; |
| 1529 debug_printf("TOC FT HEADER:\n" | 1529 debug_printf("TOC FT HEADER:\n" |
| 1530 "\t%s %d 0x%04x\n" | 1530 "\t%s %d 0x%04x\n" |
| 1531 "\t%s %d %d\n" | 1531 "\t%s %d %d\n" |
| 1532 "\t%d %d %d %d %ld %ld\n" | 1532 "\t%d %d %d %d %d %d\n" |
| 1533 "\t%ld %ld %ld %ld %ld %ld %ld %ld\n" | 1533 "\t%d %d %d %d %d %d %d %d\n" |
| 1534 "\t%s\n" | 1534 "\t%s\n" |
| 1535 "\t0x%02x, 0x%02x, 0x%02x\n" | 1535 "\t0x%02x, 0x%02x, 0x%02x\n" |
| 1536 "\t%s %s\n" | 1536 "\t%s %s\n" |
| 1537 "\t%d %d\n" | 1537 "\t%d %d\n" |
| 1538 "\t%s\n", | 1538 "\t%s\n", |
