]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Correct return
authorNick Porter <nick@portercomputing.co.uk>
Tue, 8 Oct 2024 14:11:30 +0000 (15:11 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 8 Oct 2024 14:11:30 +0000 (15:11 +0100)
src/protocols/radius/client.c

index 55501ef3f36822f262ff13e6ce0952aae427f147..e97ba336b18476091fac038c63ae3790640d0c44 100644 (file)
@@ -156,7 +156,7 @@ fr_radius_client_fd_bio_t *fr_radius_client_fd_bio_alloc(TALLOC_CTX *ctx, size_t
            fr_time_delta_ispos(cfg->connection_timeout) && cfg->retry_cfg.el) {
                if (fr_event_timer_in(my, cfg->retry_cfg.el, &my->ev, cfg->connection_timeout, fr_radius_client_bio_connect_timer, my) < 0) {
                        talloc_free(my);
-                       return -1;
+                       return NULL;
                }
        }