summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Shyti <andi@etezian.org>2013-07-26 15:41:31 +0200
committerAndi Shyti <andi@etezian.org>2013-07-26 15:41:31 +0200
commit159c57852827e79c7feba389d20bc4bc6db63160 (patch)
tree5c8725ad9990e54fe32c6f81dc90beb2eed5748f
parent2d13c30a8411d96f38b207653bb3d6baa85b09bb (diff)
accman.c: if else coding style fix
Make if state statement to appear in the following format: if (...) { ... } else { ... } Signed-off-by: Andi Shyti <andi@etezian.org>
-rw-r--r--accman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accman.c b/accman.c
index 75cab8c..90783c3 100644
--- a/accman.c
+++ b/accman.c
@@ -100,9 +100,9 @@ int main (void)
if (confirm(usr)) {
db_insert_user(usr);
printf("User %s inserted correctly\n", usr.n);
- }
- else
+ } else {
printf("user insertion aborted\n");
+ }
return 0;
}