mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* gpgkeys_finger.c (main), gpgkeys_hkp.c (main): Fix --version output.
* gpgkeys_curl.c (main): Make sure the curl handle is cleaned up on failure.
This commit is contained in:
parent
01f0036d23
commit
203e4835f6
4 changed files with 13 additions and 4 deletions
|
@ -372,7 +372,7 @@ main(int argc,char *argv[])
|
|||
/* Kludge to implement standard GNU options. */
|
||||
if (argc > 1 && !strcmp (argv[1], "--version"))
|
||||
{
|
||||
fputs ("gpgkeys_ldap (GnuPG) " VERSION"\n", stdout);
|
||||
fputs ("gpgkeys_finger (GnuPG) " VERSION"\n", stdout);
|
||||
return 0;
|
||||
}
|
||||
else if (argc > 1 && !strcmp (argv[1], "--help"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue