diff options
author | David Shaw <[email protected]> | 2004-04-16 15:19:35 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-04-16 15:19:35 +0000 |
commit | 0a17966a21d9ab55cd4c5169bf23f5eccb4c0b23 (patch) | |
tree | fbcdb04293fad3e935e6eb34038e9b22669853a8 /g10/main.h | |
parent | * main.h, misc.c (argsplit): Refactor argsep into argsplit and argsep so (diff) | |
download | gnupg-0a17966a21d9ab55cd4c5169bf23f5eccb4c0b23.tar.gz gnupg-0a17966a21d9ab55cd4c5169bf23f5eccb4c0b23.zip |
* main.h, misc.c (optsep, argsplit, optlen, parse_options): Simplify code
and properly handle a partial match against an option with an argument.
* keyserver-internal.h, keyserver.c (parse_keyserver_options): Use new
optsep and argsplit functions.
Diffstat (limited to '')
-rw-r--r-- | g10/main.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/main.h b/g10/main.h index 08b925084..500d45d4f 100644 --- a/g10/main.h +++ b/g10/main.h @@ -108,8 +108,8 @@ struct parse_options char **value; }; -char *argsplit(char **stringp); -char *argsep(char **stringp,char **arg); +char *optsep(char **stringp); +char *argsplit(char *string); int parse_options(char *str,unsigned int *options, struct parse_options *opts,int noisy); |