git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a36e6bd
)
s3: Remove a bogus 0-check, "isspace" can not return true for \0
author
Volker Lendecke
<vl@samba.org>
Fri, 9 Apr 2010 12:28:44 +0000
(14:28 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2010 06:57:26 +0000
(08:57 +0200)
source3/smbd/map_username.c
patch
|
blob
|
history
diff --git
a/source3/smbd/map_username.c
b/source3/smbd/map_username.c
index 468e20ad129f6b6aff377984b6b77c813976df41..53e836935343055f16ed0f767104dda8d0f119e7 100644
(file)
--- a/
source3/smbd/map_username.c
+++ b/
source3/smbd/map_username.c
@@
-163,7
+163,7
@@
bool map_username(fstring user)
if ('!' == *unixname) {
return_if_mapped = True;
unixname++;
- while (
*unixname &&
isspace((int)*unixname))
+ while (isspace((int)*unixname))
unixname++;
}