dovecot-2.2: script: Updated comment to describe the current scr...

dovecot at dovecot.org dovecot at dovecot.org
Wed May 6 08:11:59 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/cf9e0cbf55a9
changeset: 18527:cf9e0cbf55a9
user:      Timo Sirainen <tss at iki.fi>
date:      Wed May 06 11:10:09 2015 +0300
description:
script: Updated comment to describe the current script protocol.

diffstat:

 src/util/script.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 2a2b3897dfe1 -r cf9e0cbf55a9 src/util/script.c
--- a/src/util/script.c	Tue May 05 23:07:03 2015 +0300
+++ b/src/util/script.c	Wed May 06 11:10:09 2015 +0300
@@ -78,14 +78,17 @@
 	/* Input contains:
 
 	   VERSION .. <lf>
-	   [timeout=<timeout>]
-	   <noreply> | "-" <lf>
+	   [alarm=<secs> <lf>]
+	   [noreply <lf>]
 
 	   arg 1 <lf>
 	   arg 2 <lf>
 	   ...
 	   <lf>
 	   DATA
+
+	   It could be thought of either as a feature or a bug that alarm and
+	   noreply settings are mixed together with regular args..
 	*/		
 	alarm(SCRIPT_READ_TIMEOUT_SECS);
 	scanpos = 1;


More information about the dovecot-cvs mailing list