]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
more "ignore discard"
authorAlan T. DeKok <aland@freeradius.org>
Sun, 5 Feb 2017 15:14:30 +0000 (10:14 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 5 Feb 2017 15:14:30 +0000 (10:14 -0500)
src/modules/proto_radius/proto_radius_acct.c
src/modules/proto_radius/proto_radius_status.c

index 87ed6f297d44bb29ae19897e049ea3d7804fb797..d53dc9a3590eb8bf80515b28ffa51eca7e285bdc 100644 (file)
@@ -283,7 +283,7 @@ static int acct_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, "acct_listener_pool");
index b1186dcdb533c6de7dea93bc9ffbea639b9727e8..f14b7c320e6d28fc413cfe617f6bcd74b2187b28 100644 (file)
@@ -288,7 +288,7 @@ static int status_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, "status_listener_pool");