diff --git a/src/notify_email.c b/src/notify_email.c
index c7fe79eaf6ffe2059018bf4b810b15fd3923b81c..cefeb22f4717d6b53695b123099ca570491d47f8 100644 (file)
--- a/src/notify_email.c
+++ b/src/notify_email.c
static int authinteract (auth_client_request_t request, char **result,
int fields, void __attribute__((unused)) *arg)
{
- int i;
- for (i = 0; i < fields; i++)
+ for (int i = 0; i < fields; i++)
{
if (request[i].flags & AUTH_USER)
result[i] = smtp_user;