1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-06 23:17:47 +02:00

* gpgkeys_hkp.c (get_key): Fixed bad use of fprintf w/o format

string.
This commit is contained in:
Werner Koch 2003-11-27 12:18:20 +00:00
parent 78b2e8a17d
commit 5dc9a30878
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-11-27 Werner Koch <wk@gnupg.org>
* gpgkeys_hkp.c (get_key): Fixed bad use of fprintf w/o format
string.
2003-06-19 David Shaw <dshaw@jabberwocky.com>
* Makefile.am: Use W32LIBS where appropriate.

View File

@ -268,14 +268,14 @@ int get_key(char *getkey)
if(gotit)
{
fprintf(output,line);
fputs (line, output);
if(strcmp(line,"-----END PGP PUBLIC KEY BLOCK-----\n")==0)
break;
}
else
if(strcmp(line,"-----BEGIN PGP PUBLIC KEY BLOCK-----\n")==0)
{
fprintf(output,line);
fputs (line, output);
gotit=1;
}
}