From 384f2e70fe4bc5bdfd9f35c4347351a985f23d14 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 4 Feb 2020 21:33:08 +0100 Subject: Fix bug on unknown commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unknow commands were leading to infinite loop. This fixes. Bug-AGL: SPEC-3166 Change-Id: If1529526c5779951b8e2e30d999f3fc037eae9d4 Signed-off-by: José Bollo --- src/cynagora.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cynagora.c') diff --git a/src/cynagora.c b/src/cynagora.c index 16d953f..609ab84 100644 --- a/src/cynagora.c +++ b/src/cynagora.c @@ -383,7 +383,7 @@ get_reply( * @param block * * @return the count of fields greater than 0 or a negative -errno value - * or -EAGAIN if nothing and block == 0 + * or -EAGAIN if nothing and block == false * or -EPIPE if broken link */ static -- cgit 1.2.3-korg