Handle ^D / EOT since we asked the terminal not to
1 files changed, 1 insertions(+), 1 deletions(-) M main.c
M main.c => main.c +1 -1
@@ 236,7 236,7 @@ int main(int argc, const char **argv) { } char tone[2] = " "; - while ((tone[0] = fgetc(stdin)) != EOF) { + while ((tone[0] = fgetc(stdin)) != EOF && tone[0] != 4) { if (dtmf) snikket_jingle_dtmf_sender_insert_dtmf(dtmf, tone); }