From: Arran Cudbard-Bell Date: Tue, 23 Jan 2018 23:48:58 +0000 (-0700) Subject: Fix value box foreach macro X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cce82834ea4ea69fc48e6c6ef185c186133da41;p=thirdparty%2Ffreeradius-server.git Fix value box foreach macro --- diff --git a/src/include/value.h b/src/include/value.h index d24ff83d303..a802d9df68d 100644 --- a/src/include/value.h +++ b/src/include/value.h @@ -31,7 +31,7 @@ typedef struct value_box fr_value_box_t; extern size_t const fr_value_box_field_sizes[]; extern size_t const fr_value_box_offsets[]; -#define fr_value_box_foreach(_v, _iv) for (fr_value_box_t *_iv = v; _iv; _iv = _iv->next) +#define fr_value_box_foreach(_v, _iv) for (fr_value_box_t *_iv = _v; _iv; _iv = _iv->next) /** Union containing all data types supported by the server *