Put in a prototype for client() to get rid of the "default prototype" warning.
[mmh] / uip / popsbr.c
index 0b0551d..eec025d 100644 (file)
@@ -7,6 +7,9 @@
 
 #include <h/mh.h>
 
+extern int  client(char *args, char *protocol, char *service, int rproto,
+                  char *response, int len_response);
+
 #if defined(NNTP) && !defined(PSHSBR)
 # undef NNTP
 #endif
@@ -569,7 +572,7 @@ vcommand (const char *fmt, va_list ap)
     char *cp, buffer[BUFSIZ];
 
     vsnprintf (buffer, sizeof(buffer), fmt, ap);
-    if (poprint)
+    if (poprint) {
        if (pophack) {
            if ((cp = strchr (buffer, ' ')))
                *cp = 0;
@@ -580,6 +583,7 @@ vcommand (const char *fmt, va_list ap)
        }
        else
            fprintf (stderr, "---> %s\n", buffer);
+    }
 
     if (putline (buffer, output) == NOTOK)
        return NOTOK;