comparison src/protocols/irc/irc.c @ 3074:793fb2e9d53b

[gaim-migrate @ 3088] Less ambiguous error message when you get kicked offline. Thanks, JSeymour. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 17 Mar 2002 20:23:34 +0000
parents 22c84cbcd5a6
children 59cad0db9a6b
comparison
equal deleted inserted replaced
3073:22c82a341c32 3074:793fb2e9d53b
1159 gchar buf[1024]; 1159 gchar buf[1024];
1160 gboolean off; 1160 gboolean off;
1161 1161
1162 i = read(idata->fd, buf, 1024); 1162 i = read(idata->fd, buf, 1024);
1163 if (i <= 0) { 1163 if (i <= 0) {
1164 hide_login_progress(gc, "Read error"); 1164 hide_login_progress_error(gc, "Read error");
1165 signoff(gc); 1165 signoff(gc);
1166 return; 1166 return;
1167 } 1167 }
1168 1168
1169 idata->rxqueue = g_realloc(idata->rxqueue, i + idata->rxlen + 1); 1169 idata->rxqueue = g_realloc(idata->rxqueue, i + idata->rxlen + 1);