summaryrefslogtreecommitdiffstats
path: root/src/daemon/CommLayerServerDBus.cpp
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-03-03 14:10:54 +0100
committerKarel Klic <kklic@redhat.com>2011-03-03 14:10:54 +0100
commit0480abdfc05bc4bb785b3c89714795bb6d0e0f69 (patch)
tree45b65899ae30d73836c047d41e8e528cf6a25cd3 /src/daemon/CommLayerServerDBus.cpp
parentceaecf58a14dff5555d1a6a1ff5fa7f46149e927 (diff)
parentfd5c97267cda4cfbc23e367fc1338aa0988a8b44 (diff)
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/daemon/CommLayerServerDBus.cpp')
-rw-r--r--src/daemon/CommLayerServerDBus.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/daemon/CommLayerServerDBus.cpp b/src/daemon/CommLayerServerDBus.cpp
index 133feb7b..386b5872 100644
--- a/src/daemon/CommLayerServerDBus.cpp
+++ b/src/daemon/CommLayerServerDBus.cpp
@@ -219,7 +219,6 @@ static int handle_Report(DBusMessage* call, DBusMessage* reply)
map_map_string_t user_conf_data;
vector_string_t events;
const char* comment = NULL;
- const char* reproduce = NULL;
const char* errmsg = NULL;
DBusMessageIter in_iter;
@@ -235,15 +234,10 @@ static int handle_Report(DBusMessage* call, DBusMessage* reply)
}
//TODO? get_crash_item_content_or_die_or_empty?
comment = get_crash_item_content_or_NULL(crash_data, FILENAME_COMMENT) ? : "";
- reproduce = get_crash_item_content_or_NULL(crash_data, FILENAME_REPRODUCE) ? : "";
if (strlen(comment) > LIMIT_MESSAGE)
{
errmsg = _("Comment is too long");
}
- else if (strlen(reproduce) > LIMIT_MESSAGE)
- {
- errmsg = _("'How to reproduce' is too long");
- }
if (errmsg)
{
dbus_message_unref(reply);