git.samba.org
/
gd
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strchr and strrchr are macros when compiling with optimisation in gcc, so we can...
[gd/samba/.git]
/
source
/
rpc_server
/
srv_dfs_nt.c
diff --git
a/source/rpc_server/srv_dfs_nt.c
b/source/rpc_server/srv_dfs_nt.c
index 54c3fbf324c17dd4e289a252bac0f0aab70fb3bb..a84f2ceb48e07daebddbf6ea04ce2f277af9b8d5 100644
(file)
--- a/
source/rpc_server/srv_dfs_nt.c
+++ b/
source/rpc_server/srv_dfs_nt.c
@@
-253,7
+253,7
@@
static BOOL init_reply_dfs_info_3(TALLOC_CTX *ctx, struct junction_map* j, DFS_I
pstrcpy(path, ref->alternate_path);
trim_string(path,"\\","");
- p = strrchr(path,'\\');
+ p = strrchr
_m
(path,'\\');
if(p==NULL)
{
DEBUG(4,("init_reply_dfs_info_3: invalid path: no \\ found in %s\n",path));