]> 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>
Thu, 13 Oct 2016 08:27:22 +0000 (10:27 +0200)
uid/gid == -1 isn't treated as "don't change" in here.

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

index 29b2c18ecc5f0d5107fffc32e9f2f91f5cedc91a..a69c7c72404a888dd2746c09454c27c27dfba183 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,
 };