diff options
| author | Jiri Moskovcak <Mozkum@dhcp-lab-216.englab.brq.redhat.com> | 2009-11-01 23:25:19 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <Mozkum@dhcp-lab-216.englab.brq.redhat.com> | 2009-11-01 23:25:19 +0100 |
| commit | 0586639caf9fd8218257a16006bb9783ee490102 (patch) | |
| tree | a4b8bc367598338161cf0ad85dcd21d8ecd91b52 /src/Daemon/CommLayerServerSocket.cpp | |
| parent | 675f8db1c51c474db89e988c06ace1b13f99857d (diff) | |
| download | abrt-0586639caf9fd8218257a16006bb9783ee490102.tar.gz abrt-0586639caf9fd8218257a16006bb9783ee490102.tar.xz abrt-0586639caf9fd8218257a16006bb9783ee490102.zip | |
Hack to fix the problem with daemon remembering the last used settings
Diffstat (limited to 'src/Daemon/CommLayerServerSocket.cpp')
| -rw-r--r-- | src/Daemon/CommLayerServerSocket.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Daemon/CommLayerServerSocket.cpp b/src/Daemon/CommLayerServerSocket.cpp index 6b62928b..7afe4b6e 100644 --- a/src/Daemon/CommLayerServerSocket.cpp +++ b/src/Daemon/CommLayerServerSocket.cpp @@ -138,7 +138,9 @@ void CCommLayerServerSocket::ProcessMessage(const std::string& pMessage, GIOChan { std::string message = pMessage.substr(sizeof(MESSAGE_REPORT) - 1); map_crash_report_t report = string_to_crash_report(message); - Report(report, UID); + map_plugin_settings_t plugin_settings; + //FIXME: another hack to make this compile +// Report(report, plugin_settings, UID); } else if (!strncmp(pMessage.c_str(), MESSAGE_CREATE_REPORT, sizeof(MESSAGE_CREATE_REPORT) - 1)) { @@ -227,7 +229,12 @@ vector_crash_infos_t CCommLayerServerSocket::GetCrashInfos(const std::string &pS report_status_t CCommLayerServerSocket::Report(const map_crash_report_t& pReport, const std::string& pSender) { report_status_t rs; - rs = ::Report(pReport, pSender); + //FIXME: a hack to make this compile, but we don't use sockets anyway + /* we could probably remove the sockets and rely only on dbus, + as it will become mandatory even on servers, but this needs some investigation + and more opinions + */ + //rs = ::Report(pReport, pSettings, pSender); return rs; } |
