diff --git a/CHANGES b/CHANGES index 51e284d..f72352a 100644 --- a/CHANGES +++ b/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. diff --git a/xio-openssl.c b/xio-openssl.c index 065198c..6b3fd1a 100644 --- a/xio-openssl.c +++ b/xio-openssl.c @@ -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) {