diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-18 13:35:40 +0100 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-18 13:35:40 +0100 |
| commit | 95a2b74dc9a4b9de18b8e7e9c28c644bba876778 (patch) | |
| tree | 52f45b6467ec81d89da25571e31e48a9797c57c2 /src/cli/cli.c | |
| parent | cf9dc0c650065cd5cfc55394d9ee68c9d589e15a (diff) | |
| download | abrt-95a2b74dc9a4b9de18b8e7e9c28c644bba876778.tar.gz abrt-95a2b74dc9a4b9de18b8e7e9c28c644bba876778.tar.xz abrt-95a2b74dc9a4b9de18b8e7e9c28c644bba876778.zip | |
Replace FILENAME_MESSAGE with FILENAME_REPORTED_TO.
This fixes the problem with abrt-cli not showing unreported bugs
and abrt-gui not showing "green lamp" for reported bugs.
In general, it introduces a way to record reporting results,
such as Bugzilla URL, in dump dir.
In the future, this enables such functions as "check BZ status".
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/cli/cli.c')
| -rw-r--r-- | src/cli/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/cli.c b/src/cli/cli.c index 49c08279..7a89ef30 100644 --- a/src/cli/cli.c +++ b/src/cli/cli.c @@ -121,8 +121,8 @@ static void print_crash_list(vector_of_crash_data_t *crash_list, bool include_re crash_data_t *crash = get_crash_data(crash_list, i); if (!include_reported) { - const char *msg = get_crash_item_content_or_NULL(crash, FILENAME_MESSAGE); - if (!msg || !msg[0]) + const char *msg = get_crash_item_content_or_NULL(crash, FILENAME_REPORTED_TO); + if (!msg) continue; } |
