summaryrefslogtreecommitdiff
path: root/plugin/auth_dialog/dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/auth_dialog/dialog.c')
-rw-r--r--plugin/auth_dialog/dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/auth_dialog/dialog.c b/plugin/auth_dialog/dialog.c
index 2026369bc26..0fa5ab93a35 100644
--- a/plugin/auth_dialog/dialog.c
+++ b/plugin/auth_dialog/dialog.c
@@ -148,6 +148,8 @@ static int perform_dialog(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
if (res)
return CR_ERROR;
+ first= 0;
+
/* repeat unless it was the last question */
} while ((cmd & 1) != 1);