summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-24 17:37:01 -0400
committerJune McEnroe <june@causal.agency>2019-10-24 17:37:01 -0400
commit5e07e46fade9081b0271ef0e786c1b041123a809 (patch)
tree05aa1bb99df3cf5f92f78a60e20741cdbfeb08e5 /client.c
parentIntercept client QUIT (diff)
downloadpounce-5e07e46fade9081b0271ef0e786c1b041123a809.tar.gz
pounce-5e07e46fade9081b0271ef0e786c1b041123a809.zip
Unset non-blocking on clients
I figure I'll actually use POLLOUT on clients so should never have
issues.
Diffstat (limited to 'client.c')
-rw-r--r--client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/client.c b/client.c
index bb1704f..5970bf2 100644
--- a/client.c
+++ b/client.c
@@ -71,7 +71,6 @@ void clientSend(struct Client *client, const char *ptr, size_t len) {
 	if (verbose) fprintf(stderr, "\x1B[34m%.*s\x1B[m", (int)len, ptr);
 	while (len) {
 		ssize_t ret = tls_write(client->tls, ptr, len);
-		// FIXME: Handle non-blocking?
 		if (ret == TLS_WANT_POLLIN || ret == TLS_WANT_POLLOUT) continue;
 		if (ret < 0) {
 			warnx("tls_write: %s", tls_error(client->tls));