circo

claudio's IRC oasis
git clone git://git.bitsmanent.org/circo
Log | Files | Refs | README | LICENSE

commit ae6ad8a04b9e9e5ea7393be640ac28f57c3c2a65
parent f22f43e0d4dcf567f4bdc3a50237443621d13a25
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Thu,  1 Jun 2023 22:12:42 +0200

Fix output format of closed connection.

Diffstat:
Mcirco.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/circo.c b/circo.c @@ -1545,9 +1545,9 @@ run(void) { if(srv && FD_ISSET(fileno(srv), &rd)) { if(fgets(bufin, sizeof bufin, srv) == NULL) { for(b = buffers; b; b = b->next) - bprintf_prefixed(b, online - ? "Remote host closed connection." - : "Cannot connect to the host."); + bprintf_prefixed(b, "%s.\n", online + ? "Remote host closed connection" + : "Cannot connect to the host"); hangsup(); } else {