1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04: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:
moritz 2007-03-03 17:50:02 +00:00
parent 6187391e2c
commit 9a5b5ed973

View File

@ -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);