diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-09-23 08:47:53 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-28 09:06:57 -0400 |
commit | 4a6a5421113ab662a665c62ed6a24b61a5a36950 (patch) | |
tree | 037524123a5e1685d5e2942d1d5983896146a06a /src/providers/ipa | |
parent | db2c71bd61b7e1610ea1a178ef05059ef952685a (diff) | |
download | sssd-4a6a5421113ab662a665c62ed6a24b61a5a36950.tar.gz sssd-4a6a5421113ab662a665c62ed6a24b61a5a36950.tar.bz2 sssd-4a6a5421113ab662a665c62ed6a24b61a5a36950.zip |
Multiline macro cleanup
This is mostly a cosmetic patch.
The purpose of wrapping a multi-line macro in a do { } while(0) is to
make the macro usable as a regular statement, not a compound statement.
When the while(0) is terminated with a semicolon, the do { } while(0);
block becomes a compound statement again.
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_hbac_common.c | 2 | ||||
-rw-r--r-- | src/providers/ipa/ipa_hbac_rules.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_hbac_common.c b/src/providers/ipa/ipa_hbac_common.c index 2bf40042..be34e845 100644 --- a/src/providers/ipa/ipa_hbac_common.c +++ b/src/providers/ipa/ipa_hbac_common.c @@ -347,7 +347,7 @@ hbac_ctx_to_rules(TALLOC_CTX *mem_ctx, if (ret == EPERM) { goto done; } else if (ret != EOK) { - DEBUG(1, ("Could not construct rules\n")) + DEBUG(1, ("Could not construct rules\n")); goto done; } } diff --git a/src/providers/ipa/ipa_hbac_rules.c b/src/providers/ipa/ipa_hbac_rules.c index 43e1e426..cc502a8f 100644 --- a/src/providers/ipa/ipa_hbac_rules.c +++ b/src/providers/ipa/ipa_hbac_rules.c @@ -125,7 +125,7 @@ ipa_hbac_rule_info_send(TALLOC_CTX *mem_ctx, ret = sysdb_attrs_get_string_array(ipa_host, SYSDB_ORIG_MEMBEROF, tmp_ctx, &memberof_list); if (ret != EOK && ret != ENOENT) { - DEBUG(1, ("Could not identify ")) + DEBUG(1, ("Could not identify ")); } if (ret == ENOENT) { /* This host is not a member of any hostgroups */ memberof_list = talloc_array(tmp_ctx, const char *, 1); |