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:
e0bd87e
)
s3:net_idmap_dump add missing braces
author
Christian Ambach
<ambi@samba.org>
Tue, 4 Dec 2012 14:11:50 +0000
(15:11 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 29 Jan 2013 11:56:47 +0000
(12:56 +0100)
see README.Coding
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/net_idmap.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_idmap.c
b/source3/utils/net_idmap.c
index 5be57cc9223f30611830471b3a35ce2fd5f97883..9302be2a40ca645e55d0746405ee0777478aca35 100644
(file)
--- a/
source3/utils/net_idmap.c
+++ b/
source3/utils/net_idmap.c
@@
-57,8
+57,9
@@
static int net_idmap_dump_one_entry(struct db_record *rec,
return 0;
}
- if (strncmp((char *)key.dptr, "S-", 2) != 0)
+ if (strncmp((char *)key.dptr, "S-", 2) != 0)
{
return 0;
+ }
printf("%s %s\n", value.dptr, key.dptr);
return 0;