diff options
author | Christian Ambach <ambi@samba.org> | 2012-12-04 15:11:50 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-01-29 12:56:47 +0100 |
commit | 580008f307e0883a11be6b1ece8342642760f41e (patch) | |
tree | 36818284daccda907ee2c5267da224243d13ee00 /source3 | |
parent | e0bd87ecc41dc4f61f7f545cd485f371eb75e8b0 (diff) | |
download | samba-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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_idmap.c | 3 |
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; |