aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-12-09 11:27:10 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-12-09 11:27:10 +0000
commit4a092e78f81cf4ab7bfd3566ddaf6ef4abbf0bcb (patch)
tree177a50e34d2f87be64ccda925998d351b66d024a /libmpdemux
parentd59e59cce762dbddf00697aff21df626e463e533 (diff)
using more common function strchr instead index
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11609 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/cookies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/cookies.c b/libmpdemux/cookies.c
index a13e9f1ab0..0a469c19c4 100644
--- a/libmpdemux/cookies.c
+++ b/libmpdemux/cookies.c
@@ -215,7 +215,7 @@ cookies_set(HTTP_header_t * http_hdr, const char *domain, const char *url)
char *path;
char *buf;
- path = index(url, '/');
+ path = strchr(url, '/');
if (!path)
path = "";