changeset 16729:ae309d070b44

Comment update.
author Timo Sirainen <tss@iki.fi>
date Sat, 14 Sep 2013 00:26:58 +0300
parents d483e6eb9a2c
children 7b775a06c38f
files src/lib/connection.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/connection.h	Sat Sep 14 00:26:45 2013 +0300
+++ b/src/lib/connection.h	Sat Sep 14 00:26:58 2013 +0300
@@ -36,7 +36,8 @@
 	void (*client_connected)(struct connection *conn, bool success);
 
 	/* implement one of the input*() methods.
-	   They return 0 = ok, -1 = error, disconnect the client */
+	   They return 1 = ok, continue. 0 = ok, but stop processing more
+	   lines, -1 = error, disconnect the client. */
 	void (*input)(struct connection *conn);
 	int (*input_line)(struct connection *conn, const char *line);
 	int (*input_args)(struct connection *conn, const char *const *args);