src/protocols/toc/toc.c

changeset 10812
25c595cbffe8
parent 10751
e15f4f5927ce
child 10816
ba2657f4c157
equal deleted inserted replaced
10811:6b7ac5a9dd35 10812:25c595cbffe8
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);

mercurial