mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +00:00
ntk-console-server: Remove debugging info
This commit is contained in:
parent
9439a67b34
commit
2694b1cda4
@ -140,14 +140,11 @@ handle_session(int session_fd)
|
|||||||
|
|
||||||
rc = recv(session_fd, &packetIn, sizeof(packetIn), 0);
|
rc = recv(session_fd, &packetIn, sizeof(packetIn), 0);
|
||||||
|
|
||||||
printf("%d bytes of data were received\n", rc);
|
|
||||||
if (rc < sizeof(packetIn)) {
|
if (rc < sizeof(packetIn)) {
|
||||||
perror("recv() failed");
|
perror("recv() failed");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("0x%x command received\n", packetIn.command);
|
|
||||||
|
|
||||||
request_processing(session_fd, packetIn);
|
request_processing(session_fd, packetIn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user