1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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>
This commit is contained in:
Christian Ambach 2012-12-04 15:11:50 +01:00 committed by Michael Adam
parent e0bd87ecc4
commit 580008f307

View 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;