aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keyserver/ChangeLog5
-rw-r--r--keyserver/gpgkeys_hkp.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog
index 96cac82a1..4fcaa74c7 100644
--- a/keyserver/ChangeLog
+++ b/keyserver/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-27 Werner Koch <[email protected]>
+
+ * gpgkeys_hkp.c (get_key): Fixed bad use of fprintf w/o format
+ string.
+
2003-06-19 David Shaw <[email protected]>
* Makefile.am: Use W32LIBS where appropriate.
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c
index ab766b50e..92aa05800 100644
--- a/keyserver/gpgkeys_hkp.c
+++ b/keyserver/gpgkeys_hkp.c
@@ -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;
}
}