Skip to content

Commit

Permalink
Correct signature for SQL driver mod_instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Jan 10, 2025
1 parent a759d94 commit 1348178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_sql/rlm_sql.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ typedef struct rlm_sql_module_t {
char const *name;
int flags;

sql_rcode_t (*mod_instantiate)(CONF_SECTION *conf, rlm_sql_config_t *config);
int (*mod_instantiate)(CONF_SECTION *conf, rlm_sql_config_t *config);
sql_rcode_t (*sql_socket_init)(rlm_sql_handle_t *handle, rlm_sql_config_t *config);

sql_rcode_t (*sql_query)(rlm_sql_handle_t *handle, rlm_sql_config_t *config, char const *query);
Expand Down

0 comments on commit 1348178

Please sign in to comment.