Skip to content

Commit

Permalink
Fix argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jan 31, 2015
1 parent 20a4b8d commit cff3c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_sqlippool/rlm_sqlippool.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static int CC_HINT(nonnull (1, 3, 4, 5)) sqlippool_query1(char *out, int outlen,
return 0;
}

if (data->sql_inst->sql_fetch_row(&row, &handle, request, data->sql_inst) < 0) {
if (data->sql_inst->sql_fetch_row(&row, data->sql_inst, request, &handle) < 0) {
REDEBUG("Failed fetching query result");
goto finish;
}
Expand Down

0 comments on commit cff3c62

Please sign in to comment.