]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ignore discard return code
authorAlan T. DeKok <aland@freeradius.org>
Sun, 5 Feb 2017 15:08:48 +0000 (10:08 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 5 Feb 2017 15:08:48 +0000 (10:08 -0500)
src/modules/proto_radius/proto_radius_auth.c

index fdc03135007182f0dab5e1b58fcac22fe6748266..2ca0fefb3b528271157228ad462bb800226248e8 100644 (file)
@@ -922,7 +922,7 @@ static int auth_socket_recv(rad_listen_t *listener)
 
        ctx = talloc_pool(NULL, main_config.talloc_pool_size);
        if (!ctx) {
-               udp_recv_discard(listener->fd);
+               (void) udp_recv_discard(listener->fd);
                return 0;
        }
        talloc_set_name_const(ctx, "auth_listener_pool");