comparison src/protocols/toc/toc.c @ 10812:d087e928ffd1

[gaim-migrate @ 12465] " A variety of spacing normalization I've done as I've navigated the source making other changes. The specific changes should be uncontroversial. I'm submitting these to shrink the deltas between my local tree and the CVS source. If spacing changes are unwelcome as a general rule, let me know." --rlaager I said not to do this sort of patch often. also a spelling fix. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 11 Apr 2005 04:32:26 +0000
parents bf5e48215158
children c94f40ffcafb
comparison
equal deleted inserted replaced
10811:dc59482c8d37 10812:d087e928ffd1
547 break; 547 break;
548 case 982: 548 case 982:
549 g_snprintf(buf, sizeof(buf), _("Your warning level is currently too high to log in.")); 549 g_snprintf(buf, sizeof(buf), _("Your warning level is currently too high to log in."));
550 break; 550 break;
551 case 983: 551 case 983:
552 g_snprintf(buf, sizeof(buf), _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer.")); 552 g_snprintf(buf, sizeof(buf), _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer."));
553 break; 553 break;
554 g_snprintf(buf, sizeof(buf), _("An unknown signon error has occurred: %s."), w); 554 g_snprintf(buf, sizeof(buf), _("An unknown signon error has occurred: %s."), w);
555 break; 555 break;
556 default: 556 default:
557 g_snprintf(buf, sizeof(buf), _("An unknown error, %d, has occurred. Info: %s"), no, w); 557 g_snprintf(buf, sizeof(buf), _("An unknown error, %d, has occurred. Info: %s"), no, w);
558 } 558 }
559 559
560 return buf; 560 return buf;
561 } 561 }
562 562
2057 hdr->lnameoffset = 0x1A; 2057 hdr->lnameoffset = 0x1A;
2058 hdr->lsizeoffset = 0x10; 2058 hdr->lsizeoffset = 0x10;
2059 g_snprintf(hdr->name, 64, "listing.txt"); 2059 g_snprintf(hdr->name, 64, "listing.txt");
2060 if (write(src, hdr, 256) < 0) { 2060 if (write(src, hdr, 256) < 0) {
2061 gaim_notify_error(ft->gc, NULL, 2061 gaim_notify_error(ft->gc, NULL,
2062 _("Could not write file header. The file will " 2062 _("Could not write file header. The file will "
2063 "not be transferred."), NULL); 2063 "not be transferred."), NULL);
2064 fclose(ft->file); 2064 fclose(ft->file);
2065 g_free(ft->filename); 2065 g_free(ft->filename);
2066 g_free(ft->cookie); 2066 g_free(ft->cookie);
2067 g_free(ft->user); 2067 g_free(ft->user);