From 9a5b5ed9736b9fea2b9107c05ed5c53243f474b4 Mon Sep 17 00:00:00 2001 From: moritz Date: Sat, 3 Mar 2007 17:50:02 +0000 Subject: [PATCH] Forgot one PATH_SEPARATOR instance ... git-svn-id: https://svn.xiph.org/trunk/ezstream@12617 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/ezstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ezstream.c b/src/ezstream.c index 5a89ea9..30095d1 100644 --- a/src/ezstream.c +++ b/src/ezstream.c @@ -155,7 +155,7 @@ sig_handler(int sig) char * basename(const char *fileName) { - char *pLast = strrchr(fileName, '\\'); + char *pLast = strrchr(fileName, PATH_SEPARATOR); if (pLast != NULL) return (pLast + 1);