From bcd0ff919a8c7b2987db6f91c46ac1d30178f39d Mon Sep 17 00:00:00 2001 From: fanasina Date: Wed, 3 Sep 2025 11:34:08 +0200 Subject: [PATCH] y_socket: recevfrom debug --- y_socket_t/src/y_socket_t/y_file_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/y_socket_t/src/y_socket_t/y_file_handler.c b/y_socket_t/src/y_socket_t/y_file_handler.c index 3d62e0d..dd1f0f4 100644 --- a/y_socket_t/src/y_socket_t/y_file_handler.c +++ b/y_socket_t/src/y_socket_t/y_file_handler.c @@ -121,7 +121,7 @@ void* y_socket_send_file_for_all_nodes(void* arg){ return NULL; } - y_send_post_file_to_all_nodes(arg); + //y_send_post_file_to_all_nodes(arg); //for(struct list_y_NODE_T *local_list_current = nodes->begin_list; local_list_current; local_list_current=local_list_current->next ) //memset(buf_send, 0, BUF_SIZE+1); @@ -209,7 +209,7 @@ void* y_socket_send_file_for_all_nodes(void* arg){ void receve_from_node(struct pollfd *fds, char *msg, size_t count){ - printf("\ndebug: <<<< receve_from_node %s %d\n\n",msg,count); + printf("\ndebug: <<<< receve_from_node %s %ld\n\n",msg,count); char filename[500]; int fd_file; long int nread;