(get_key): Fixed invalid use of fprintf without
authorWerner Koch <wk@gnupg.org>
Thu, 27 Nov 2003 12:16:43 +0000 (12:16 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 27 Nov 2003 12:16:43 +0000 (12:16 +0000)
format string.

keyserver/ChangeLog
keyserver/gpgkeys_hkp.c

index 1fe6e4c..d58e505 100644 (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>
 
        * Makefile.am (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.
index 51487d1..9e91757 100644 (file)
@@ -279,14 +279,14 @@ get_key(char *getkey)
 
          if(gotit)
            {
-             fprintf(output,line);
+             fputs (line, output);
              if(strncmp(line,END,strlen(END))==0)
                break;
            }
          else
            if(strncmp(line,BEGIN,strlen(BEGIN))==0)
              {
-               fprintf(output,line);
+               fputs (line,output);
                gotit=1;
              }
        }