~singpolyma/ccd

004c612fe433c68cc5af56e702ba76344e629bfb — Stephen Paul Weber 5 months ago 76661aa 0.1.1
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);
	}