Remove ^C handling

This commit is contained in:
Franck STAUFFER 2020-09-08 23:08:28 +02:00
parent 5637f9e476
commit d7521a3b1f
Signed by: franck.stauffer
GPG Key ID: AAF5A94045CEC261
1 changed files with 0 additions and 5 deletions

View File

@ -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;