mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 12:55:16 +00: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:
parent
d59e59cce7
commit
4a092e78f8
@ -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 = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user