Remove ^C handling
This commit is contained in:
parent
5637f9e476
commit
d7521a3b1f
@ -214,11 +214,6 @@ main(int argc, char** argv)
|
||||
}
|
||||
} else if (events[i].data.fd == 0) {
|
||||
const uint8_t chr = getchar();
|
||||
if (chr == 3) {
|
||||
fputs("\n\rLeaving...\n\r", stdout);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (send(sock, &chr, 1, 0) != 1) {
|
||||
perror("ERROR: send");
|
||||
return 9;
|
||||
|
Loading…
Reference in New Issue
Block a user