test-socket-signal: remote print_buffer function in client and server
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tue, 19 Oct 2010 17:37:17 +0000 (20:37 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tue, 19 Oct 2010 17:37:17 +0000 (20:37 +0300)
Utils/test-socket-signal/client.c
Utils/test-socket-signal/server.c

index 7b7e45a..550d868 100644 (file)
@@ -43,11 +43,6 @@ static void init_buffer(void)
        data[i] = '\0';
 }
 
-static void print_buffer(void)
-{
-       printf("data: %s\n\n", data);
-}
-
 static void fill_buffer(void)
 {
        static unsigned long long index = 0;
index 3f54695..ae84874 100644 (file)
@@ -31,11 +31,6 @@ static ssize_t receive_buffer(int sockfd)
        return recv(sockfd, data, PACKET_SIZE, 0);
 }
 
-static void print_buffer(void)
-{
-       printf("data: %s\n\n", data);
-}
-
 static void print_buffer_meta(void)
 {
        unsigned long long index;