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
/
smbd
/
service.c
diff --git
a/source/smbd/service.c
b/source/smbd/service.c
index 836ef30f80c695c0827ce0b2dd6b0e384cd3d1bc..04139be917b3c08ddcee6768fe1bbc99ef49dcfd 100644
(file)
--- a/
source/smbd/service.c
+++ b/
source/smbd/service.c
@@
-102,7
+102,7
@@
int add_home_service(char *service, char *homedir)
fstrcpy(new_service, service);
- if ((usr_p = strchr(service,*lp_winbind_separator())) != NULL)
+ if ((usr_p = strchr
_m
(service,*lp_winbind_separator())) != NULL)
fstrcpy(new_service, usr_p+1);
lp_add_home(new_service,iHomeService,homedir);