[Mplayer-cvslog] CVS: main/libmpdemux cookies.c,1.3,1.4
Alex Beregszaszi
alex at mplayerhq.hu
Tue Dec 9 12:27:34 CET 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv29429
Modified Files:
cookies.c
Log Message:
using more common function strchr instead index
Index: cookies.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/cookies.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cookies.c 8 Dec 2003 20:53:40 -0000 1.3
+++ cookies.c 9 Dec 2003 11:27:10 -0000 1.4
@@ -215,7 +215,7 @@
char *path;
char *buf;
- path = index(url, '/');
+ path = strchr(url, '/');
if (!path)
path = "";
More information about the MPlayer-cvslog
mailing list