A little more cleaning pre-production
authorTim Pepper <timothy.c.pepper@linux.intel.com>
Mon, 10 Sep 2012 23:17:19 +0000 (16:17 -0700)
committerTim Pepper <timothy.c.pepper@linux.intel.com>
Mon, 10 Sep 2012 23:17:19 +0000 (16:17 -0700)
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
corewatcher.conf
src/coredump.c
src/submit.c

index 5fbadeb..8bda388 100644 (file)
@@ -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
index ae9fd75..e34ab56 100644 (file)
@@ -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;
                        }
 
index bd862e6..2e9da65 100644 (file)
@@ -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);