[PATCH] ktee-net: cleanup
[splice.git] / ktee-net.c
index e2ebde0c0fd1b0df97e4910e80f8d23a13efa3f6..18ee443b08f9da20a85d94cfa395521772c86683 100755 (executable)
@@ -7,7 +7,6 @@
 #include <unistd.h>
 #include <string.h>
 #include <fcntl.h>
-#include <string.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
@@ -78,8 +77,6 @@ int main(int argc, char *argv[])
        if (fd < 0)
                return error("socket");
 
-       fprintf(stderr, "connecting to %s, port %x\n", hname, addr.sin_port);
-
        if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0)
                return error("connect");