USETRACE
This commit is contained in:
		
							parent
							
								
									bf3cc14c4d
								
							
						
					
					
						commit
						a5e9d821b0
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue