summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-12-04 15:11:50 +0100
committerMichael Adam <obnox@samba.org>2013-01-29 12:56:47 +0100
commit580008f307e0883a11be6b1ece8342642760f41e (patch)
tree36818284daccda907ee2c5267da224243d13ee00
parente0bd87ecc41dc4f61f7f545cd485f371eb75e8b0 (diff)
downloadsamba-580008f307e0883a11be6b1ece8342642760f41e.tar.gz
samba-580008f307e0883a11be6b1ece8342642760f41e.tar.bz2
samba-580008f307e0883a11be6b1ece8342642760f41e.zip
s3:net_idmap_dump add missing braces
see README.Coding Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/utils/net_idmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 5be57cc922..9302be2a40 100644
--- 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;