From: Matthew Newton Date: Tue, 10 May 2016 11:15:32 +0000 (+0100) Subject: rlm_python: add missing default NULL X-Git-Tag: release_3_0_12~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f126ef48660b94bc1ccdef796aeef7a64be9fdce;p=thirdparty%2Ffreeradius-server.git rlm_python: add missing default NULL --- diff --git a/src/modules/rlm_python/rlm_python.c b/src/modules/rlm_python/rlm_python.c index 6134b48a49d..381e68681b5 100644 --- a/src/modules/rlm_python/rlm_python.c +++ b/src/modules/rlm_python/rlm_python.c @@ -101,7 +101,7 @@ typedef struct python_thread_state { static CONF_PARSER module_config[] = { #define A(x) { "mod_" #x, FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, x.module_name), "${.module}" }, \ - { "func_" #x, FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, x.function_name) }, + { "func_" #x, FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, x.function_name), NULL }, A(instantiate) A(authorize) @@ -120,7 +120,7 @@ static CONF_PARSER module_config[] = { #undef A - { "python_path", FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, python_path) }, + { "python_path", FR_CONF_OFFSET(PW_TYPE_STRING, rlm_python_t, python_path), NULL }, { "cext_compat", FR_CONF_OFFSET(PW_TYPE_BOOLEAN, rlm_python_t, cext_compat), "yes" }, CONF_PARSER_TERMINATOR