rlm_python: add missing default NULL
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Tue, 10 May 2016 11:15:32 +0000 (12:15 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Tue, 10 May 2016 11:21:17 +0000 (12:21 +0100)
src/modules/rlm_python/rlm_python.c

index 6134b48..381e686 100644 (file)
@@ -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