comparison src/protocols/napster/napster.c @ 10816:c94f40ffcafb

[gaim-migrate @ 12471] rlaager reverted objectionable spacing changes committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 11 Apr 2005 15:26:51 +0000
parents d087e928ffd1
children 3e43c132f151
comparison
equal deleted inserted replaced
10815:65c818fb218e 10816:c94f40ffcafb
250 i = 0; 250 i = 0;
251 do { 251 do {
252 int tmp = read(source, buf + i, len - i); 252 int tmp = read(source, buf + i, len - i);
253 if (tmp <= 0) { 253 if (tmp <= 0) {
254 g_free(buf); 254 g_free(buf);
255 buf = g_strdup_printf(_("Unable to read message from server: %s. Command is %hd, length is %hd."), strerror(errno), len, command); 255 buf = g_strdup_printf(_("Unable to read message from server: %s. Command is %hd, length is %hd."), strerror(errno), len, command);
256 gaim_connection_error(gc, buf); 256 gaim_connection_error(gc, buf);
257 g_free(buf); 257 g_free(buf);
258 return; 258 return;
259 } 259 }
260 i += tmp; 260 i += tmp;