[xiph-commits] r12617 - trunk/ezstream/src

moritz at svn.xiph.org moritz at svn.xiph.org
Sat Mar 3 09:50:04 PST 2007


Author: moritz
Date: 2007-03-03 09:50:02 -0800 (Sat, 03 Mar 2007)
New Revision: 12617

Modified:
   trunk/ezstream/src/ezstream.c
Log:
Forgot one PATH_SEPARATOR instance ...


Modified: trunk/ezstream/src/ezstream.c
===================================================================
--- trunk/ezstream/src/ezstream.c	2007-03-03 17:48:11 UTC (rev 12616)
+++ trunk/ezstream/src/ezstream.c	2007-03-03 17:50:02 UTC (rev 12617)
@@ -155,7 +155,7 @@
 char *
 basename(const char *fileName)
 {
-	char	*pLast = strrchr(fileName, '\\');
+	char	*pLast = strrchr(fileName, PATH_SEPARATOR);
 
 	if (pLast != NULL)
 		return (pLast + 1);



More information about the commits mailing list