diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-20 16:42:17 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-20 16:42:17 +0100 |
commit | 562cb414ee83452749058c2c976019c663111e55 (patch) | |
tree | 4dc3fb3bd887155494925f487a4737618c27c213 /src/Daemon/Daemon.cpp | |
parent | f4beeadc35e646a9ad17e66c5afa2137fd4ff137 (diff) | |
download | abrt-562cb414ee83452749058c2c976019c663111e55.tar.gz abrt-562cb414ee83452749058c2c976019c663111e55.tar.xz abrt-562cb414ee83452749058c2c976019c663111e55.zip |
split load_crash_data_from_debug_dump from DebugDumpToCrashReport
We will need it elsewhere later
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r-- | src/Daemon/Daemon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index 2964d582..c7acffc3 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -320,9 +320,9 @@ static void FindNewDumps(const char* pPath) vector_string_t::iterator itt = dirs.begin(); for (; itt != dirs.end(); ++itt) { - map_crash_data_t crashinfo; try { + map_crash_data_t crashinfo; mw_result_t res = SaveDebugDump(itt->c_str(), crashinfo); switch (res) { @@ -476,11 +476,11 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin worst_dir = ""; } - map_crash_data_t crashinfo; try { std::string fullname = concat_path_file(DEBUG_DUMPS_DIR, name); - + map_crash_data_t crashinfo; +//todo: rename SaveDebugDump to ???? it does not save crashinfo, it FETCHES crashinfo mw_result_t res = SaveDebugDump(fullname.c_str(), crashinfo); switch (res) { |