From 3b2b3b7f0002a88bb25abe478a206f7a4e3252f5 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 17 Apr 2013 14:28:11 +0200 Subject: [PATCH] main: forgotten styleup --- src/main.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2212809..a21b00f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -121,18 +121,18 @@ int main (int argc, char**argv) * something is happening here, therefore init everything */ - int exitflag=0; + int exitflag = 0; keyring KR; - if(!KR.open()) { - err("could not open keyring!"); + if (!KR.open() ) { + err ("could not open keyring!"); return 1; } - if(!KR.load()) { - err("could not load keyring!"); - exitflag=1; + if (!KR.load() ) { + err ("could not load keyring!"); + exitflag = 1; goto exit_ok; } @@ -153,8 +153,9 @@ int main (int argc, char**argv) */ exit_ok: - if(!KR.close()) { - err("could not close keyring, something weird is going to happen."); + if (!KR.close() ) { + err ("could not close keyring, " + "something weird is going to happen."); } return exitflag;