s3:net_idmap_dump add missing braces
authorChristian Ambach <ambi@samba.org>
Tue, 4 Dec 2012 14:11:50 +0000 (15:11 +0100)
committerMichael 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

index 5be57cc9223f30611830471b3a35ce2fd5f97883..9302be2a40ca645e55d0746405ee0777478aca35 100644 (file)
@@ -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;