[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kleopatra/uiserver
From:       Guy Maurel <guy-kde () maurel ! de>
Date:       2009-11-15 14:28:28
Message-ID: 1258295308.361911.24486.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1049595 by guymaurel:

complete with some more parentheses

 M  +4 -2      decryptverifycommandemailbase.cpp  


--- trunk/KDE/kdepim/kleopatra/uiserver/decryptverifycommandemailbase.cpp \
#1049594:1049595 @@ -172,21 +172,23 @@
             throw Kleo::Exception( q->makeError( GPG_ERR_ASS_NO_INPUT ),  //TODO use \
                better error code if possible
                                    i18n("INPUT/SENDER --info count mismatch") );
 
-    if ( numMessages )
+    if ( numMessages ) {
         if ( numMessages != numInputs )
             throw Kleo::Exception( q->makeError( GPG_ERR_ASS_NO_INPUT ),  //TODO use \
                better error code if possible
                                    i18n("INPUT/MESSAGE count mismatch") );
         else if ( op != Verify )
             throw Kleo::Exception( q->makeError( GPG_ERR_CONFLICT ),
                                    i18n("MESSAGE can only be given for detached \
signature verification") ); +    }
 
-    if ( numOutputs )
+    if ( numOutputs ) {
         if ( numOutputs != numInputs )
             throw Kleo::Exception( q->makeError( GPG_ERR_ASS_NO_OUTPUT ), //TODO use \
better error code if possible  i18n("INPUT/OUTPUT count mismatch") );
         else if ( numMessages )
             throw Kleo::Exception( q->makeError( GPG_ERR_CONFLICT ),
                                    i18n("Can not use OUTPUT and MESSAGE \
simultaneously") ); +    }
 
     kleo_assert( proto != UnknownProtocol );
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic