]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo in fr_nonblock() call (#4796)
authorJorge Pereira <jpereira@users.noreply.github.com>
Thu, 10 Nov 2022 15:07:58 +0000 (12:07 -0300)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 15:07:58 +0000 (10:07 -0500)
src/main/listen.c

index 1c36c327886873a3894705ec2b8f461ca79761fd..0da34550c360f52432bd0e22c9a70231ba64e67e 100644 (file)
@@ -3132,7 +3132,7 @@ rad_listen_t *proxy_new_listener(TALLOC_CTX *ctx, home_server_t *home, uint16_t
                 *      Set non-blocking if it's configured.
                 */
                if (this->nonblock) {
-                       if (fr_nonblock(this->fd < 0)) {
+                       if (fr_nonblock(this->fd) < 0) {
                                ERROR("(TLS) Failed setting nonblocking for proxy socket '%s' - %s", buffer, fr_strerror());
                                home->last_failed_open = now;
                                listen_free(&this);