From: Fredrik Tolf Date: Mon, 25 Feb 2008 20:37:44 +0000 (+0100) Subject: Fixed dcbasename as well (to be removed, though). X-Git-Tag: 1.2~16 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=106f290d565b1d3ddafd1314c55798d500a27d60 Fixed dcbasename as well (to be removed, though). --- diff --git a/daemon/fnet-dc.c b/daemon/fnet-dc.c index 284c6d9..f9e3273 100644 --- a/daemon/fnet-dc.c +++ b/daemon/fnet-dc.c @@ -3228,7 +3228,7 @@ static wchar_t *dcbasename(wchar_t *filename) { wchar_t *ret; - if((ret = wcsrchr(filename, L'\\')) != NULL) + if((ret = wcsrchr(filename, L'/')) != NULL) return(ret + 1); return(filename); }