]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: master-login-auth - Rename master_login_auth_set_timeout() to master_logi...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 27 Jan 2019 12:43:27 +0000 (13:43 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 1 Feb 2019 18:36:44 +0000 (19:36 +0100)
src/lib-master/master-login-auth.c

index b8f818dc5b21f55e05925245b0fbd334ed21419a..fc1df93fdaae51944b3e2e24c7704030edbdda10 100644 (file)
@@ -62,7 +62,7 @@ struct master_login_auth {
        bool spid_received:1;
 };
 
-static void master_login_auth_set_timeout(struct master_login_auth *auth);
+static void master_login_auth_update_timeout(struct master_login_auth *auth);
 static void master_login_auth_check_spids(struct master_login_auth *auth);
 
 struct master_login_auth *
@@ -192,10 +192,10 @@ static void master_login_auth_timeout(struct master_login_auth *auth)
                i_free(request);
        }
        timeout_remove(&auth->to);
-       master_login_auth_set_timeout(auth);
+       master_login_auth_update_timeout(auth);
 }
 
-static void master_login_auth_set_timeout(struct master_login_auth *auth)
+static void master_login_auth_update_timeout(struct master_login_auth *auth)
 {
        i_assert(auth->to == NULL);
 
@@ -218,7 +218,7 @@ master_login_auth_request_remove(struct master_login_auth *auth,
 
        if (update_timeout) {
                timeout_remove(&auth->to);
-               master_login_auth_set_timeout(auth);
+               master_login_auth_update_timeout(auth);
        }
 }
 
@@ -512,7 +512,7 @@ void master_login_auth_request(struct master_login_auth *auth,
        DLLIST2_APPEND(&auth->request_head, &auth->request_tail, login_req);
 
        if (auth->to == NULL)
-               master_login_auth_set_timeout(auth);
+               master_login_auth_update_timeout(auth);
 
        master_login_auth_send_request(auth, login_req);
 }