summaryrefslogtreecommitdiffstats
path: root/src/CLI
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 13:53:25 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 13:53:25 +0100
commit6edf29e32c72e2d860019b2b987012fe52ac49a0 (patch)
treeb8a62a483cb05a05901e2cfb5c371ba7e144360f /src/CLI
parent7c3acc81d9a4f83e8252779fa96703e1a72dd3db (diff)
downloadabrt-6edf29e32c72e2d860019b2b987012fe52ac49a0.tar.gz
abrt-6edf29e32c72e2d860019b2b987012fe52ac49a0.tar.xz
abrt-6edf29e32c72e2d860019b2b987012fe52ac49a0.zip
preparatory patch with trivial cleanups
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/CLI')
-rw-r--r--src/CLI/CLI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CLI/CLI.cpp b/src/CLI/CLI.cpp
index 1ea3a5d6..bc8ddf60 100644
--- a/src/CLI/CLI.cpp
+++ b/src/CLI/CLI.cpp
@@ -53,7 +53,7 @@ static void print_crash_infos(vector_crash_infos_t& pCrashInfos, int pMode)
for (ii = 0; ii < pCrashInfos.size(); ii++)
{
map_crash_info_t& info = pCrashInfos[ii];
- if (pMode == OPT_GET_LIST_FULL || info.find(CD_REPORTED)->second[CD_CONTENT] != "1")
+ if (pMode == OPT_GET_LIST_FULL || info[CD_REPORTED][CD_CONTENT] != "1")
{
const char *timestr = info[CD_TIME][CD_CONTENT].c_str();
long time = strtol(timestr, NULL, 10);