summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2011-04-04 12:02:27 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2011-04-04 12:02:27 +0200
commit90fe3a9d0cd766d18d1142d8d6981193a5715643 (patch)
tree7df1a3ef2b4fd08f706345a05b78526d5837eac2 /src/include
parent2ee0754ffb52a8bb65cb718189536b715e56f8d3 (diff)
downloadabrt-90fe3a9d0cd766d18d1142d8d6981193a5715643.tar.gz
abrt-90fe3a9d0cd766d18d1142d8d6981193a5715643.tar.xz
abrt-90fe3a9d0cd766d18d1142d8d6981193a5715643.zip
rhbz#692465 - Blacklist doesn't work
parse_value() doesn't trim the string. Lest say BlackList = coreutils, mono the parsed list looks like -> 'coreutils', ' mono' Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/abrtlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h
index d9364673..70dc300c 100644
--- a/src/include/abrtlib.h
+++ b/src/include/abrtlib.h
@@ -94,6 +94,8 @@ extern "C" {
int prefixcmp(const char *str, const char *prefix);
#define suffixcmp abrt_suffixcmp
int suffixcmp(const char *str, const char *suffix);
+#define strtrim abrt_strtrim
+char *strtrim(char *str);
#define concat_path_file abrt_concat_path_file
char *concat_path_file(const char *path, const char *filename);
#define append_to_malloced_string abrt_append_to_malloced_string