]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm: Fixed connecting to UNIX sockets.
authorTimo Sirainen <tss@iki.fi>
Wed, 27 Feb 2013 16:00:29 +0000 (18:00 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 27 Feb 2013 16:00:29 +0000 (18:00 +0200)
src/doveadm/doveadm-util.c

index 017a681b5c770c57db202d01abb8ce1d1f1c9b68..8872c7688a45ae41fc471a527a791ef8d693f97d 100644 (file)
@@ -160,7 +160,6 @@ int doveadm_connect_with_default_port(const char *path,
                fd = net_connect_unix(path);
                if (fd == -1)
                        i_fatal("net_connect_unix(%s) failed: %m", path);
-               return -1;
        }
        return fd;
 }