shithub: drawterm

Download patch

ref: 3d14bcb38754e98fbe669867f6291d3cc7dc6d15
parent: 35ab5a74c2a8a7e197f35b833694aa28d12bade7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Sep 8 15:19:18 EDT 2016

aan: dont break connection on write error...

--- a/aan.c
+++ b/aan.c
@@ -104,7 +104,7 @@
 		|| write(c->netfd, &b->hdr, Hdrsz) != Hdrsz
 		|| write(c->netfd, b->buf, n) != n){
 			qunlock(&c->lk);
-			break;
+			continue;
 		}
 		qunlock(&c->lk);