comparison src/protocols/napster/napster.c @ 6979:bdd046deec7e

[gaim-migrate @ 7535] Two string corrections from KAMO Tomoyuki. Thanks dude I fiddled with the prefs away message stuff... Changed a function to static and renamed it to have a _cb at the end. Added an away_message_click_cb() callback--double clicking on an away message in the list brings up the edit away message window. I want to add an "Activate" button, but I don't have time now, and away.c needs to be core/ui split, I think, with the ability to activate a chosen message. The Second Annual Chips & Dip night was good. We watched The Unborn 2, which is supposed to be one of the worst movies ever. It rocked. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 27 Sep 2003 05:11:11 +0000
parents faa491042c66
children 083d1e4a9c78
comparison
equal deleted inserted replaced
6978:755462e647e5 6979:bdd046deec7e
241 i = 0; 241 i = 0;
242 do { 242 do {
243 int tmp = read(source, buf + i, len - i); 243 int tmp = read(source, buf + i, len - i);
244 if (tmp <= 0) { 244 if (tmp <= 0) {
245 g_free(buf); 245 g_free(buf);
246 buf = g_strdup_printf(_("Unable to read mesage from server. Command is %hd, length is %hd."), len, command); 246 buf = g_strdup_printf(_("Unable to read message from server. Command is %hd, length is %hd."), len, command);
247 gaim_connection_error(gc, buf); 247 gaim_connection_error(gc, buf);
248 g_free(buf); 248 g_free(buf);
249 return; 249 return;
250 } 250 }
251 i += tmp; 251 i += tmp;