diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-06 17:51:17 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-06 17:51:17 +0100 |
| commit | 1202706839ec42299e8794750cec66dfa7db0206 (patch) | |
| tree | 328fec88403061afca8a71c74bc78e1b3dd96f34 /lib/Plugins/CCpp.cpp | |
| parent | b1336faa48bee2cdb7ef0486a5a4faa5c74f4fa7 (diff) | |
| download | abrt-1202706839ec42299e8794750cec66dfa7db0206.tar.gz abrt-1202706839ec42299e8794750cec66dfa7db0206.tar.xz abrt-1202706839ec42299e8794750cec66dfa7db0206.zip | |
simplify logging a bit. warn_client() is gone, reuse error_msg() for it.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/CCpp.cpp')
| -rw-r--r-- | lib/Plugins/CCpp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index a2d65f3..b6a5db8 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -610,8 +610,8 @@ Another application is holding the yum lock, cannot continue if (last >= 0 && buff[last] == '\n') buff[last] = '\0'; - /* log(buff); - update_client logs it too */ - update_client(buff); /* maybe only if buff != ""? */ + log("%s", buff); + update_client("%s", buff); /* maybe only if buff != ""? */ #ifdef COMPLAIN_IF_NO_DEBUGINFO if (already_installed == false) @@ -715,8 +715,8 @@ static void InstallDebugInfos(const char *pDebugDumpDir, std::string& build_ids) } if (*p) { - /* log(buff); - update_client logs it too */ - update_client(buff); + log("%s", buff); + update_client("%s", buff); } } |
