summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-07-22 18:54:34 +0000
committermillert <millert@openbsd.org>1997-07-22 18:54:34 +0000
commitdb7aedf8db2f4a32250daffe11388e215a3c2232 (patch)
tree3cf50c593383601e23cd65fb770d31ad324dfc89 /lib
parentOnly require 2 ^C's at Subject: prompt to quit as it is supposed to. (diff)
downloadwireguard-openbsd-db7aedf8db2f4a32250daffe11388e215a3c2232.tar.xz
wireguard-openbsd-db7aedf8db2f4a32250daffe11388e215a3c2232.zip
grabh() now returns SIGINT if it was interrupted (previously always
returned 0 and the return val was always ignored). Add gethfromtty() to get a header (using grabh) from the tty and quit on two ^C's. Use gethfromtty() when getting Subject, Cc, and Bcc headers so we can quit nicely. Closes PR #291. Don't use longs where it doesn't make sense.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions