diff options
author | William Douglas <william.douglas@intel.com> | 2012-05-24 14:25:15 -0700 |
---|---|---|
committer | William Douglas <william.douglas@intel.com> | 2012-05-24 14:25:29 -0700 |
commit | b92d5b5b092aec634913ebee3533b435425ec4b7 (patch) | |
tree | f7b22674741f69d08b500aff6bfba35ba17adcc7 | |
parent | 6fd0f74e60edbc7847437c2c92d5f88359bed879 (diff) | |
download | corewatcher-b92d5b5b092aec634913ebee3533b435425ec4b7.tar.gz corewatcher-b92d5b5b092aec634913ebee3533b435425ec4b7.tar.bz2 corewatcher-b92d5b5b092aec634913ebee3533b435425ec4b7.zip |
Remove options to not submit crash info
Signed-off-by: William Douglas <william.douglas@intel.com>
-rw-r--r-- | src/configfile.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/configfile.c b/src/configfile.c index a1f030a..8197f17 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -32,12 +32,6 @@ #include "corewatcher.h" -/* 0 = No - 1 = Ask - 2 = Yes - */ -int opted_in = 0; -int allow_distro_to_pass_on = 0; char *submit_url[MAX_URLS]; char *build_release = NULL; char *core_folder = NULL; @@ -73,24 +67,6 @@ void read_config_file(char *filename) if (n) *n = 0; line_len = line + dummy; - c = strstr(line, "allow-submit"); - if (c) { - c += 13; - if (c < line_len) { - if (strstr(c, "yes")) - opted_in = 2; - if (strstr(c, "ask")) - opted_in = 1; - } - } - c = strstr(line, "allow-pass-on"); - if (c) { - c += 14; - if (c < line_len) { - if (strstr(c, "yes")) - allow_distro_to_pass_on = 1; - } - } c = strstr(line, "unlink"); if (c) if (strstr(c, "yes")) |