mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Forgot one PATH_SEPARATOR instance ...
git-svn-id: https://svn.xiph.org/trunk/ezstream@12617 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
parent
6187391e2c
commit
9a5b5ed973
@ -155,7 +155,7 @@ sig_handler(int sig)
|
|||||||
char *
|
char *
|
||||||
basename(const char *fileName)
|
basename(const char *fileName)
|
||||||
{
|
{
|
||||||
char *pLast = strrchr(fileName, '\\');
|
char *pLast = strrchr(fileName, PATH_SEPARATOR);
|
||||||
|
|
||||||
if (pLast != NULL)
|
if (pLast != NULL)
|
||||||
return (pLast + 1);
|
return (pLast + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user