From: Don S. <ri...@us...> - 2005-01-26 16:44:50
|
Update of /cvsroot/gaim-bnet/gaim-bnet/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15962/src Modified Files: proto.c Log Message: Using strstr() instead of memmem() Index: proto.c =================================================================== RCS file: /cvsroot/gaim-bnet/gaim-bnet/src/proto.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** proto.c 21 Jan 2005 05:45:52 -0000 1.16 --- proto.c 26 Jan 2005 16:44:41 -0000 1.17 *************** *** 125,129 **** p = (gchar *)(w + strlen(w)); else { ! if (!(p = memmem(w, strlen(w), k+1, tt))) { err = TRUE; break; --- 125,129 ---- p = (gchar *)(w + strlen(w)); else { ! if (!(p = strstr(w, k+1))) { err = TRUE; break; |