diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 16:48:54 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 16:48:54 +0100 |
commit | 764c3a1e4f21c635c565cf5c20c480dbf48d1599 (patch) | |
tree | 35befea8632742fcf9a05354c8a1ca9bc0a3e2d4 /src/CLI/CLI.cpp | |
parent | b7e20eb84250ce9feeefde8dad2eab448125dc5d (diff) | |
download | abrt-764c3a1e4f21c635c565cf5c20c480dbf48d1599.tar.gz abrt-764c3a1e4f21c635c565cf5c20c480dbf48d1599.tar.xz abrt-764c3a1e4f21c635c565cf5c20c480dbf48d1599.zip |
unify "crash data, "crash info" and "crash report" data types. they are the same
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/CLI/CLI.cpp')
-rw-r--r-- | src/CLI/CLI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CLI/CLI.cpp b/src/CLI/CLI.cpp index bc8ddf60..2f3b4048 100644 --- a/src/CLI/CLI.cpp +++ b/src/CLI/CLI.cpp @@ -47,12 +47,12 @@ enum OPT_DELETE }; -static void print_crash_infos(vector_crash_infos_t& pCrashInfos, int pMode) +static void print_crash_infos(vector_map_crash_data_t& pCrashInfos, int pMode) { unsigned int ii; for (ii = 0; ii < pCrashInfos.size(); ii++) { - map_crash_info_t& info = pCrashInfos[ii]; + map_crash_data_t& info = pCrashInfos[ii]; if (pMode == OPT_GET_LIST_FULL || info[CD_REPORTED][CD_CONTENT] != "1") { const char *timestr = info[CD_TIME][CD_CONTENT].c_str(); @@ -189,7 +189,7 @@ int main(int argc, char** argv) case OPT_GET_LIST: case OPT_GET_LIST_FULL: { - vector_crash_infos_t ci = call_GetCrashInfos(); + vector_map_crash_data_t ci = call_GetCrashInfos(); print_crash_infos(ci, op); break; } |