summaryrefslogtreecommitdiffstats
path: root/source/smbd/statcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/statcache.c')
-rw-r--r--source/smbd/statcache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/smbd/statcache.c b/source/smbd/statcache.c
index 93782b9bb01..03d22a08d03 100644
--- a/source/smbd/statcache.c
+++ b/source/smbd/statcache.c
@@ -1,5 +1,6 @@
/*
- Unix SMB/CIFS implementation.
+ Unix SMB/Netbios implementation.
+ Version 3.0
stat cache code
Copyright (C) Andrew Tridgell 1992-2000
Copyright (C) Jeremy Allison 1999-2000
@@ -173,7 +174,7 @@ BOOL stat_cache_lookup(connection_struct *conn, char *name, char *dirpath,
/*
* Didn't find it - remove last component for next try.
*/
- sp = strrchr_m(chk_name, '/');
+ sp = strrchr(chk_name, '/');
if (sp) {
*sp = '\0';
} else {