summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 7aa2584..b5fb36a 100644
--- a/client.c
+++ b/client.c
@@ -67,7 +67,7 @@ void clientSend(struct Client *client, const char *ptr, size_t len) {
 		ssize_t ret = tls_write(client->tls, ptr, len);
 		if (ret == TLS_WANT_POLLIN || ret == TLS_WANT_POLLOUT) continue;
 		if (ret < 0) {
-			warnx("tls_write: %s", tls_error(client->tls));
+			warnx("client tls_write: %s", tls_error(client->tls));
 			client->error = true;
 			return;
 		}
@@ -226,7 +226,7 @@ void clientRecv(struct Client *client) {
 	);
 	if (read == TLS_WANT_POLLIN || read == TLS_WANT_POLLOUT) return;
 	if (read <= 0) {
-		if (read < 0) warnx("tls_read: %s", tls_error(client->tls));
+		if (read < 0) warnx("client tls_read: %s", tls_error(client->tls));
 		client->error = true;
 		return;
 	}