]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Reverted last error handling change, it can't happen after all.
authorTimo Sirainen <tss@iki.fi>
Sat, 15 Mar 2008 03:17:21 +0000 (05:17 +0200)
committerTimo Sirainen <tss@iki.fi>
Sat, 15 Mar 2008 03:17:21 +0000 (05:17 +0200)
--HG--
branch : HEAD

src/lib-dict/dict-client.c

index 8b34ed36eff01314a5bab7f49c3e9a5f7bdb9f80..280195d14937ec654b612eaf6089c4952ae5559a 100644 (file)
@@ -231,10 +231,8 @@ static char *client_dict_read_line(struct client_dict *dict)
 
        if (ret == -2)
                i_error("read(%s) returned too much data", dict->path);
-       else if (ret < 0)
-               i_error("read(%s) failed: %m", dict->path);
        else
-               i_error("read(%s) returned %d", dict->path, ret);
+               i_error("read(%s) failed: %m", dict->path);
        return NULL;
 }