git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
757766d
)
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>
Mon, 12 Apr 2010 11:18:17 +0000
(13:18 +0200)
source3/smbd/map_username.c
patch
|
blob
|
history
diff --git
a/source3/smbd/map_username.c
b/source3/smbd/map_username.c
index 8b1e1dbd7c2ce3568685b5ec96cd48aebae98e63..8cbe40defd4fb3156fd1781965aa9c83137a76f2 100644
(file)
--- a/
source3/smbd/map_username.c
+++ b/
source3/smbd/map_username.c
@@
-163,7
+163,7
@@
bool map_username(struct smbd_server_connection *sconn, fstring user)
if ('!' == *unixname) {
return_if_mapped = True;
unixname++;
- while (
*unixname &&
isspace((int)*unixname))
+ while (isspace((int)*unixname))
unixname++;
}