1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

using more common function strchr instead index

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11609 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-12-09 11:27:10 +00:00
parent d59e59cce7
commit 4a092e78f8

View File

@ -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 = "";