From 580008f307e0883a11be6b1ece8342642760f41e Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 4 Dec 2012 15:11:50 +0100 Subject: s3:net_idmap_dump add missing braces see README.Coding Signed-off-by: Christian Ambach Reviewed-by: Michael Adam --- source3/utils/net_idmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit