From 8cf4e69141bb11d8fb956d31752293e7bfb5cbcf Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 8 Mar 2004 17:59:24 +0000 Subject: 2004-03-08 Marcus Brinkmann * gpgconf-comp.c (retrieve_options_from_file): Quote each string in the list, not only the first. --- tools/gpgconf-comp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/gpgconf-comp.c') diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index 5dda4f306..e483675f8 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -1172,11 +1172,11 @@ retrieve_options_from_file (gc_component_t component, gc_backend_t backend) while (*(end - 1) == ' ' || *(end - 1) == '\t') end--; *end = '\0'; - /* FIXME: Oh, no! This is so lame! Use realloc and really - append. */ + /* FIXME: Oh, no! This is so lame! Should use realloc and + really append. */ if (list) { - new_list = xasprintf ("%s,%s", list, percent_escape (start)); + new_list = xasprintf ("%s,\"%s", list, percent_escape (start)); xfree (list); list = new_list; } -- cgit v1.2.3