From: Eric W. <war...@us...> - 2001-10-25 05:05:09
|
Update of /cvsroot/gaim/gaim/src/protocols/icq In directory usw-pr-cvs1:/tmp/cvs-serv22686/protocols/icq Modified Files: gaim_icq.c Log Message: i shouldn't have modified gaim.h like i did. *slaps own wrists* Do as I say, not as I do. Index: gaim_icq.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/icq/gaim_icq.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- gaim_icq.c 2001/10/23 04:54:45 1.17 +++ gaim_icq.c 2001/10/25 05:05:05 1.18 @@ -107,20 +107,6 @@ icq_Login(link, id->cur_status); } -void strip_linefeed(gchar *text) -{ - int i, j; - gchar *text2 = g_malloc(strlen(text) + 1); - - for (i = 0, j = 0; text[i]; i++) - if (text[i] != '\r') - text2[j++] = text[i]; - text2[j] = '\0'; - - strcpy(text, text2); - g_free(text2); -} - static void icq_msg_incoming(icq_Link *link, unsigned long uin, unsigned char hour, unsigned char minute, unsigned char day, unsigned char month, unsigned short year, const char *data) { struct gaim_connection *gc = link->icq_UserData; |