summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-07-24 11:18:38 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-07-24 11:18:38 +0200
commit2b8af3b994ae4e3c0fd479330e5b1ada2baa7c9a (patch)
tree4c82992c61c1f9216bd0167e652668fa5e04549b
parenta2a1ec29e008936654a146df244e4265668bfb31 (diff)
downloadabrt-2b8af3b994ae4e3c0fd479330e5b1ada2baa7c9a.tar.gz
abrt-2b8af3b994ae4e3c0fd479330e5b1ada2baa7c9a.tar.xz
abrt-2b8af3b994ae4e3c0fd479330e5b1ada2baa7c9a.zip
simple fix
-rw-r--r--lib/Plugins/CCpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index 176a77a4..86ada29c 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -133,7 +133,7 @@ void CAnalyzerCCpp::InstallDebugInfos(const std::string& pPackage)
bool already_installed = false;
int r;
- while (r = read(pipeout[0], buff, sizeof(buff) - 1) > 0)
+ while ((r = read(pipeout[0], buff, sizeof(buff) - 1)) > 0)
{
/* Was before read, does not seem to be needed
fd_set rsfd;