y_socket: cleanup some debug print

This commit is contained in:
2025-10-19 23:42:19 +02:00
parent 7b0181e2f0
commit 7c13efe055
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ void* update_nodes(void* arg)
}
}
push_back_list_y_NODE_T(nodes, node);
printf("debug: // /// // // update_nodes local_addr=%d\n",node.local_addr );
///printf("debug: // /// // // update_nodes local_addr=%d\n",node.local_addr );
if(if_addr) freeifaddrs(if_addr);
}
+2 -2
View File
@@ -630,11 +630,11 @@ void *y_socket_poll_fds(void *arg){
//printf("fd = %d\n event=%d\n\n",fds[1].fd,pollEventRec);
//fds[1].events = 0;
puts("Saisie du message : ");
puts(">>");
memset(buf, 0, sizeof buf);
//scanf(" %"xstr(BUF_SIZE)"[^\n]%*c", buf);
buf_len = read(0,buf,BUF_SIZE);
printf("message saisi : %s\n len = %ld\n",buf, buf_len);
///printf("message saisi : %s\n len = %ld\n",buf, buf_len);
// handle_input_kbd(buf, buf_len ,arg);
#if 0
if(buf_len>6){