bug in xio-openssl.c that prevented error handling of bad number

This commit is contained in:
Gerhard Rieger 2013-06-21 16:36:18 +02:00
parent 7701095d45
commit a4622ecf17
2 changed files with 4 additions and 1 deletions

View file

@ -91,6 +91,9 @@ corrections:
improved dev_t print format definition 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. docu mentions option so-bindtodev but correct name is so-bindtodevice.
Thanks to Jim Zimmerman for reporting. Thanks to Jim Zimmerman for reporting.

View file

@ -301,7 +301,7 @@ static int
them, &themlen, us, &uslen, them, &themlen, us, &uslen,
&needbind, &lowport, socktype); &needbind, &lowport, socktype);
if (result != STAT_OK) return STAT_NORETRY; if (result != STAT_OK) return STAT_NORETRY;
} else if (argc = 1) { } else if (argc == 1) {
/* or a "non terminal" address without required parameters */ /* or a "non terminal" address without required parameters */
if (xfd->wfd < 0) { if (xfd->wfd < 0) {