From: Zilo <ko...@gm...> - 2005-01-27 19:22:35
|
On 01/27/05 18:03:48, Don Seiler wrote: > On 16:46 Thu 27 Jan , Zilo wrote: > > You got my last patch? > > It fix an error in one of your last commit (memmem() -> strstr()) > > causing my parse function to stop to work... try again after > > patching... >=20 > I was told using memmem() is not desirable. Can we do this with > strstr()? char *strstr(const char *haystack, const char *needle); strstr() consider needle len =3D strlen(needle), but in my code this =20 isn't always true... so we must use memmem() instead :P cya |