1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00

(get_key): Fixed invalid use of fprintf without

format string.
This commit is contained in:
Werner Koch 2003-11-27 12:16:43 +00:00
parent 4b6f0055b4
commit ee3f955709
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 invalid use of fprintf without
format string.
2003-10-25 Werner Koch <wk@gnupg.org> 2003-10-25 Werner Koch <wk@gnupg.org>
* Makefile.am (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL. * Makefile.am (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.

View File

@ -279,14 +279,14 @@ get_key(char *getkey)
if(gotit) if(gotit)
{ {
fprintf(output,line); fputs (line, output);
if(strncmp(line,END,strlen(END))==0) if(strncmp(line,END,strlen(END))==0)
break; break;
} }
else else
if(strncmp(line,BEGIN,strlen(BEGIN))==0) if(strncmp(line,BEGIN,strlen(BEGIN))==0)
{ {
fprintf(output,line); fputs (line,output);
gotit=1; gotit=1;
} }
} }