[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-19 17:36:53
Message-ID: 1258652213.339650.5644.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1051505 by guymaurel:
complete with some more parentheses
M +3 -2 echocommand.cpp
--- trunk/KDE/kdepim/kleopatra/uiserver/echocommand.cpp #1051504:1051505
@@ -97,12 +97,13 @@
sendStatus( "ECHO", output.empty() ? "" : output.c_str() );
// 2. if --inquire was given, inquire more data from the client:
- if ( !keyword.empty() )
+ if ( !keyword.empty() ) {
if ( const int err = inquire( keyword.c_str(), this,
SLOT(slotInquireData(int,QByteArray)) ) )
return err;
else
++d->operationsInFlight;
+ }
// 3. if INPUT was given, start the data pump for input->output
if ( const shared_ptr<QIODevice> i = in.at(0)->ioDevice() ) {
@@ -163,7 +164,7 @@
done( makeError( GPG_ERR_EIO ) );
return;
}
- if ( read == 0 || !in->isSequential() && read == in->size() )
+ if ( read == 0 || (!in->isSequential() && read == in->size()) )
in->close();
buffer.resize( read );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic