]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Rename %{pid} to %{client_pid} for clarity
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 29 Jan 2024 10:49:05 +0000 (12:49 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 31 Jan 2024 13:36:03 +0000 (15:36 +0200)
src/auth/auth-request-var-expand.c
src/auth/test-auth-request-var-expand.c

index b0b2025c42fbb87e714efb6fc14f2ac2347acb43..ba870f1ea39dc71e04bf9e3f47bb50300ce45bc3 100644 (file)
@@ -21,7 +21,7 @@ auth_request_var_expand_static_tab[] = {
        { 'h', NULL, "home" },
        { 'l', NULL, "lip" },
        { 'r', NULL, "rip" },
-       { 'p', NULL, "pid" },
+       { 'p', NULL, "client_pid" },
        { 'w', NULL, "password" },
        { '!', NULL, NULL },
        { 'm', NULL, "mech" },
index e8035528e91d7a07f934fe420263b46f18d630d3..5b8e967c3a19bd116cb0747a8eb4665fa244eb37 100644 (file)
@@ -88,7 +88,7 @@ static void test_auth_request_var_expand_shortlong(void)
        static const char *test_input_long =
                "%{user}\n%{username}\n%{domain}\n%{service}\n%{home}\n"
                "%{lip}\n%{rip}\n%{local_ip}\n%{remote_ip}\n"
-               "%{pid}\n%{password}\n%{mech}\n%{secured}\n"
+               "%{client_pid}\n%{password}\n%{mech}\n%{secured}\n"
                "%{lport}\n%{rport}\n%{local_port}\n%{remote_port}\n%{cert}\n";
        static const char *test_output =
                /* %{home} is intentionally always expanding to empty */