X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fprompter.c;h=ae0c0c63cd6fd2efd00eecc1de74013b65c37e2a;hp=0ca1e83a232c584a40ffee4eb68fd94e1e21ad31;hb=5faf465b84082afa8bb85ce6fe87ce6675749675;hpb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c diff --git a/uip/prompter.c b/uip/prompter.c index 0ca1e83..ae0c0c6 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -273,7 +273,7 @@ int getln(char *buffer, int n) { int c; - sig_atomic_t psigint; + sig_atomic_t psigint = sigint; char *cp; cp = buffer; @@ -282,7 +282,6 @@ getln(char *buffer, int n) switch (setjmp(sigenv)) { case 0: wtuser = 1; - psigint = sigint; break; default: