diff options
author | David Shaw <dshaw@jabberwocky.com> | 2006-02-23 21:54:30 +0100 |
---|---|---|
committer | David Shaw <dshaw@jabberwocky.com> | 2006-02-23 21:54:30 +0100 |
commit | 09e3b78ea26246ad7d180030b41b50bb09d543a0 (patch) | |
tree | 30d9943a621b2fe181af660f2abd587f95981ea9 /g10/keyserver.c | |
parent | * gpg.c (add_notation_data): Fix reversed logic for isascii check when (diff) | |
download | gnupg2-09e3b78ea26246ad7d180030b41b50bb09d543a0.tar.xz gnupg2-09e3b78ea26246ad7d180030b41b50bb09d543a0.zip |
* keyserver.c (parse_keyserver_uri, add_canonical_option): Always append
options to the list, as ordering may be significant to the user.
Diffstat (limited to 'g10/keyserver.c')
-rw-r--r-- | g10/keyserver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c index 4d51f91bc..bc49d1b2d 100644 --- a/g10/keyserver.c +++ b/g10/keyserver.c @@ -118,11 +118,11 @@ add_canonical_option(char *option,STRLIST *list) strcpy(joined,option); strcat(joined,"="); strcat(joined,arg); - add_to_strlist(list,joined); + append_to_strlist(list,joined); xfree(joined); } else - add_to_strlist(list,option); + append_to_strlist(list,option); } int @@ -294,7 +294,7 @@ parse_keyserver_uri(const char *string,int require_scheme, "--keyserver-options ","broken-http-proxy"); xfree(keyserver->scheme); keyserver->scheme=xstrdup("hkp"); - add_to_strlist(&opt.keyserver_options.other,"broken-http-proxy"); + append_to_strlist(&opt.keyserver_options.other,"broken-http-proxy"); } else if(ascii_strcasecmp(keyserver->scheme,"x-hkp")==0) { |