]> git.sesse.net Git - jam/commitdiff
Remove some debugging stuff.
authorsgunderson@bigfoot.com <>
Wed, 31 Jan 2007 22:37:39 +0000 (23:37 +0100)
committersgunderson@bigfoot.com <>
Wed, 31 Jan 2007 22:37:39 +0000 (23:37 +0100)
jam.c

diff --git a/jam.c b/jam.c
index d1637f30fb7a8a6601fceacd242fb9a532cb130c..7e46c21a48b5e50313d122eba00d0dfb7916197e 100644 (file)
--- a/jam.c
+++ b/jam.c
@@ -163,15 +163,11 @@ void *sender_worker(void *arg)
                sin.sin_port = htons(port);
                sin.sin_addr = destinations[dst_num];
        
-               fprintf(stderr, "connecting %u\n", i);
-
                if (connect(sock, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
                        perror("connect()");
                        exit(1);
                }
                
-               fprintf(stderr, "connected\n");
-
                while (num_bytes > 0) {
                        unsigned bytes_to_send = num_bytes;
                        unsigned ret;
@@ -216,8 +212,6 @@ void *receiver_worker(void *arg)
        char buf[65536];
        unsigned long long bytes_received = 0;
 
-       fprintf(stderr, "Receiver started\n");
-
        for ( ;; ) {
                int ret = read(sock, buf, 65536);
                if (ret == 0)