mirror of
https://repo.or.cz/socat.git
synced 2024-12-23 07:52:32 +00:00
bug in xio-openssl.c that prevented error handling of bad number
This commit is contained in:
parent
7701095d45
commit
a4622ecf17
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
CHANGES
|
@ -91,6 +91,9 @@ corrections:
|
|||
|
||||
improved dev_t print format definition
|
||||
|
||||
fixed bug in xio-openssl.c that prevented error handling of bad number
|
||||
of arguments, thanks to Paulik Tamas for reporting
|
||||
|
||||
docu mentions option so-bindtodev but correct name is so-bindtodevice.
|
||||
Thanks to Jim Zimmerman for reporting.
|
||||
|
||||
|
|
|
@ -301,7 +301,7 @@ static int
|
|||
them, &themlen, us, &uslen,
|
||||
&needbind, &lowport, socktype);
|
||||
if (result != STAT_OK) return STAT_NORETRY;
|
||||
} else if (argc = 1) {
|
||||
} else if (argc == 1) {
|
||||
|
||||
/* or a "non terminal" address without required parameters */
|
||||
if (xfd->wfd < 0) {
|
||||
|
|
Loading…
Reference in a new issue