summaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-03-07 06:09:50 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-03-07 06:09:50 -0800
commita3b0877584b9154bf5a5e2218e8ad07ea3c44ff3 (patch)
treec5fddf7e276b7f379dca5eeeca7ff11893ce55f7 /socket.c
parentede02a9fa6454d7462901f9997de1f9bef071379 (diff)
downloadtxr-a3b0877584b9154bf5a5e2218e8ad07ea3c44ff3.tar.gz
txr-a3b0877584b9154bf5a5e2218e8ad07ea3c44ff3.tar.bz2
txr-a3b0877584b9154bf5a5e2218e8ad07ea3c44ff3.zip
Bugfix: incorrect error string from stdio streams.
* stream.c (errno_to_string): Fix wrong test; it is a nil value of err which is the "no error" case, not non-nil. Due to this bug, any non-numeric error condition will be reported as "no error", including the case t ("eof").
Diffstat (limited to 'socket.c')
0 files changed, 0 insertions, 0 deletions