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/Catcut.cpp | |
| parent | b1336faa48bee2cdb7ef0486a5a4faa5c74f4fa7 (diff) | |
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/Catcut.cpp')
| -rw-r--r-- | lib/Plugins/Catcut.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Plugins/Catcut.cpp b/lib/Plugins/Catcut.cpp index 6bb44a9d..23b1d2c4 100644 --- a/lib/Plugins/Catcut.cpp +++ b/lib/Plugins/Catcut.cpp @@ -162,9 +162,7 @@ static void create_new_bug_description(const map_crash_report_t& pCrashReport, s } else if (it->second[CD_TYPE] == CD_BIN) { - string msg = ssprintf(_("Binary file %s will not be reported."), it->first.c_str()); - warn_client(msg); - //update_client(_("Binary file ")+it->first+_(" will not be reported.")); + error_msg(_("Binary file %s will not be reported"), it->first.c_str()); } } } @@ -244,7 +242,7 @@ static string new_bug(const char *auth_cookie, const map_crash_report_t& pCrashR throw_if_xml_fault_occurred(); bug_id_str = bug_id; log("New bug id: %s", bug_id); - update_client(_("New bug id: ") + bug_id_str); + update_client(_("New bug id: %s"), bug_id); free((void*)bug_id); xmlrpc_DECREF(bug_id_xml); |
