]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-program-client: Fixed running test-program-client-local as root.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 10 Oct 2016 17:58:53 +0000 (20:58 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 10 Oct 2016 17:58:53 +0000 (20:58 +0300)
uid/gid == -1 isn't treated as "don't change" in here.

src/lib-program-client/test-program-client-local.c

index 17366689c1121356d55d6d8537f2b3c3e107167b..e13b0b8f06a21937cf4b9f8a807545d24413e98f 100644 (file)
@@ -23,8 +23,6 @@ static
 struct program_client_settings pc_set = {
        .client_connect_timeout_msecs = 5000,
        .input_idle_timeout_secs = 1000,
-       .gid = -1,
-       .uid = -1,
        .debug = FALSE,
 };