From f9a5955ecbec319cb5f56d11cabe0b56c739cdfa Mon Sep 17 00:00:00 2001 From: Chris Leech Date: Fri, 1 Apr 2011 16:54:26 -0700 Subject: [PATCH] sent dbus signal and log to syslog on each oops, not just once per batch Signed-off-by: Chris Leech --- submit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submit.c b/submit.c index d3f0e52..c90fb1c 100644 --- a/submit.c +++ b/submit.c @@ -242,6 +242,8 @@ void submit_queue_with_url(char *wsubmit_url) result = curl_easy_perform(handle); curl_formfree(post); + dbus_say_thanks(result_url); + next = oops->next; free(oops->text); free(oops); @@ -254,8 +256,6 @@ void submit_queue_with_url(char *wsubmit_url) if (count && !testmode) write_logfile(count, wsubmit_url); - if (count) - dbus_say_thanks(result_url); /* * If we've reached the maximum count, we'll exit the program, * the program won't do any useful work anymore going forward. -- 2.7.4