From a5e9d821b095b7b77fc91ee51fc73273ca6ddf53 Mon Sep 17 00:00:00 2001 From: ubuntu201711081 <201711081@jbnu.ac.kr> Date: Tue, 8 Dec 2020 10:16:37 +0000 Subject: [PATCH] USETRACE --- p-server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/p-server.c b/p-server.c index 6030bb0..2461db9 100644 --- a/p-server.c +++ b/p-server.c @@ -299,7 +299,9 @@ int main(int argc, const char *argv[]){ char ip_buf[INET_ADDRSTRLEN]; const char * msg; int retval = 0; + #ifdef USE_TRACE struct timespec ts_top_begin,ts_top_end, ts_bottom_begin, ts_bottom_end; + #endif if((csock = accept(sock, (struct sockaddr *)&client_addr,&client_addr_len)) < 0){ free(buf); perror("accept error");