From 4b01e8c2aed58373e965248e29db131d0b050000 Mon Sep 17 00:00:00 2001 From: Tim Pepper Date: Mon, 10 Sep 2012 16:17:19 -0700 Subject: [PATCH] A little more cleaning pre-production Signed-off-by: Tim Pepper --- corewatcher.conf | 2 +- src/coredump.c | 2 +- src/submit.c | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/corewatcher.conf b/corewatcher.conf index 5fbadeb..8bda388 100644 --- a/corewatcher.conf +++ b/corewatcher.conf @@ -43,7 +43,7 @@ unlink=no # submit-url = http://url2.com/submitbug.php # -submit-url=http://kojibuild7.jf.intel.com:8000/submit_crash/ +submit-url=http://kojibuild7.jf.intel.com/crash_submit/ # # Location for the distribution's build release file diff --git a/src/coredump.c b/src/coredump.c index ae9fd75..e34ab56 100644 --- a/src/coredump.c +++ b/src/coredump.c @@ -328,7 +328,7 @@ static struct oops *extract_core(char *fullpath, char *appfile) fixup: /* gdb outputs some 0x1a's which break XML */ badchar = memchr(line, 0x1a, size); if (badchar) { - *badchar = '\n'; + *badchar = ' '; goto fixup; } diff --git a/src/submit.c b/src/submit.c index bd862e6..2e9da65 100644 --- a/src/submit.c +++ b/src/submit.c @@ -220,11 +220,6 @@ static void submit_queue_with_url(struct oops *queue, char *wsubmit_url, char *p CURLFORM_COPYNAME, "crash", CURLFORM_COPYCONTENTS, oops->text, CURLFORM_END); - - curl_formadd(&post, &last, - CURLFORM_COPYNAME, "pass_on_allowed", - CURLFORM_COPYCONTENTS, "yes", CURLFORM_END); - curl_easy_setopt(handle, CURLOPT_HTTPPOST, post); curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, writefunction); result = curl_easy_perform(handle); -- 2.7.4