]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Fix to previous istream-timeout commit
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 22 Apr 2016 17:31:02 +0000 (20:31 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 22 Apr 2016 17:31:02 +0000 (20:31 +0300)
The one commit I didn't bother putting through all the automated testing
stages and I of course forgot to even compile after the last change :(

src/lib/istream-timeout.c

index d5ab1c8fc036ab96131be09cc3df07c980ba6e5a..50b23ffc4acdf0d8a2f4fcc4af8c2a75b834e59b 100644 (file)
@@ -66,7 +66,7 @@ static void i_stream_timeout(struct timeout_istream *tstream)
                            diff/1000, diff%1000,
                            tstream->istream.istream.v_offset,
                            over_msecs < 1000 ? "" : t_strdup_printf(
-                               " (requested timeout in %u s)", tstream->timeout_secs));
+                               " (requested timeout in %u ms)", tstream->timeout_msecs));
        tstream->istream.istream.stream_errno = ETIMEDOUT;
 
        i_stream_set_input_pending(tstream->istream.parent, TRUE);