]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
return something
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 9 Apr 2020 03:12:52 +0000 (22:12 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 9 Apr 2020 03:12:52 +0000 (22:12 -0500)
src/modules/rlm_radius/track.c

index 0be1a6f8ffbdda71f168143d363f384c483be0e2..d59bec681e0edc6850e54f35a34d05b484d30382 100644 (file)
@@ -115,7 +115,7 @@ int radius_track_entry_reserve(radius_track_entry_t **te_out,
 {
        radius_track_entry_t *te;
 
-       if (!fr_cond_assert_msg(!*te_out, "Expected tracking entry to be NULL")) return;
+       if (!fr_cond_assert_msg(!*te_out, "Expected tracking entry to be NULL")) return -1;
 
 retry:
        te = fr_dlist_head(&tt->free_list);