changeset 11608:0d975c7c39e7

using more common function strchr instead index
author alex
date Tue, 09 Dec 2003 11:27:10 +0000
parents 1eeb4d55b0f2
children 59045fb3fb2d
files libmpdemux/cookies.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/cookies.c	Tue Dec 09 11:05:07 2003 +0000
+++ b/libmpdemux/cookies.c	Tue Dec 09 11:27:10 2003 +0000
@@ -215,7 +215,7 @@
     char *path;
     char *buf;
 
-    path = index(url, '/');
+    path = strchr(url, '/');
     if (!path)
 	path = "";