Changeset 7320610
- Timestamp:
- 2015-03-10T07:33:54Z (10 years ago)
- Branches:
- master
- Children:
- afbad28
- Parents:
- 8b91a1f
- git-author:
- dequis <dx@…> (07-03-15 04:10:59)
- git-committer:
- dequis <dx@…> (10-03-15 07:33:54)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r8b91a1f r7320610 764 764 irc_rootmsg(irc, 765 765 "Welcome to the BitlBee gateway!\n\n" 766 "Running %s %s\n\n" 766 767 "If you've never used BitlBee before, please do read the help " 767 768 "information using the \x02help\x02 command. Lots of FAQs are " 768 769 "answered there.\n" 769 770 "If you already have an account on this server, just use the " 770 "\x02identify\x02 command to identify yourself."); 771 "\x02identify\x02 command to identify yourself.", 772 PACKAGE, BITLBEE_VERSION); 771 773 772 774 /* This is for bug #209 (use PASS to identify to NickServ). */ -
protocols/twitter/twitter_lib.c
r8b91a1f r7320610 862 862 863 863 imcb_error(ic, "Stream closed (%s)", req->status_string); 864 if (req->status_code == 401) { 865 imcb_error(ic, "Check your system clock."); 866 } 864 867 imc_logout(ic, TRUE); 865 868 return; -
storage_xml.c
r8b91a1f r7320610 103 103 if (protocol) { 104 104 prpl = find_protocol(protocol); 105 if (!prpl) { 106 irc_rootmsg(xd->irc, "Error loading user config: Protocol not found: `%s'", protocol); 107 return XT_ABORT; 108 } 105 109 local = protocol_account_islocal(protocol); 106 110 } … … 197 201 fn = g_strconcat(global.conf->configdir, xd->given_nick, ".xml", NULL); 198 202 if ((fd = open(fn, O_RDONLY)) < 0) { 199 ret = STORAGE_NO_SUCH_USER; 203 if (errno == ENOENT) { 204 ret = STORAGE_NO_SUCH_USER; 205 } else { 206 irc_rootmsg(irc, "Error loading user config: %s", g_strerror(errno)); 207 } 200 208 goto error; 201 209 } … … 377 385 strcat(path, ".XXXXXX"); 378 386 if ((fd = mkstemp(path)) < 0) { 379 irc_rootmsg(irc, "Error while opening configuration file."); 380 return STORAGE_OTHER_ERROR; 387 goto error; 381 388 } 382 389 … … 400 407 401 408 error: 402 irc_rootmsg(irc, "Write error . Disk full?");409 irc_rootmsg(irc, "Write error: %s", g_strerror(errno)); 403 410 ret = STORAGE_OTHER_ERROR; 404 411
Note: See TracChangeset
for help on using the changeset viewer.