Commit 603444bc authored by Sergei Golubchik's avatar Sergei Golubchik

fix function prototype to follow the API

parent 29253356
...@@ -327,7 +327,10 @@ static int perform_dialog(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql) ...@@ -327,7 +327,10 @@ static int perform_dialog(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
or fall back to the default implementation. or fall back to the default implementation.
*/ */
static int init_dialog() static int init_dialog(char *errbuf __attribute__((unused)),
size_t sizeof_errbuf __attribute__((unused)),
int argc __attribute__((unused)),
va_list args __attribute__((unused)))
{ {
void *sym= dlsym(RTLD_DEFAULT, "mysql_authentication_dialog_ask"); void *sym= dlsym(RTLD_DEFAULT, "mysql_authentication_dialog_ask");
ask= sym ? (mysql_authentication_dialog_ask_t)sym : builtin_ask; ask= sym ? (mysql_authentication_dialog_ask_t)sym : builtin_ask;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment