summary refs log tree commit diff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c
index 964b15b..a304db0 100644
--- a/server.c
+++ b/server.c
@@ -90,7 +90,7 @@ void serverSend(const char *ptr, size_t len) {
 	while (len) {
 		ssize_t ret = tls_write(client, ptr, len);
 		if (ret == TLS_WANT_POLLIN || ret == TLS_WANT_POLLOUT) continue;
-		if (ret < 0) errx(EX_IOERR, "tls_write: %s", tls_error(client));
+		if (ret < 0) errx(EX_IOERR, "server tls_write: %s", tls_error(client));
 		ptr += ret;
 		len -= ret;
 	}
@@ -170,7 +170,7 @@ void serverRecv(void) {
 
 	ssize_t read = tls_read(client, &buf[len], sizeof(buf) - len);
 	if (read == TLS_WANT_POLLIN || read == TLS_WANT_POLLOUT) return;
-	if (read < 0) errx(EX_IOERR, "tls_read: %s", tls_error(client));
+	if (read < 0) errx(EX_IOERR, "server tls_read: %s", tls_error(client));
 	len += read;
 
 	char *crlf;
ass='logheader'>2020-11-22Day 10June McEnroe 2020-11-22Day 9, part 2June McEnroe 2020-11-22Day 9June McEnroe I was really sick at the start of the week, okay? 2020-11-22Day 8, part 2June McEnroe 2020-11-22Day 8June McEnroe 2020-11-22Day 7, part 2June McEnroe I don't even know what this is. Don't look at it. 2020-11-22Day 7June McEnroe 2020-11-22Day 6, part 2June McEnroe 2020-11-22Day 6June McEnroe 2020-11-22Day 5, part 2June McEnroe 2020-11-22Day 5June McEnroe 2020-11-22Day 4, part 2June McEnroe That ugly sort map though. 2020-11-22Day 4June McEnroe 2020-11-22Day 3, part 2June McEnroe I am super surprised that worked on the first try. 2020-11-22Day 3, clean upJune McEnroe 2020-11-22Day 3June McEnroe This is fucking awful and I'm angry. 2020-11-22Day 2, part 2June McEnroe 2020-11-22Day 2June McEnroe 2020-11-22Day 1, part 2June McEnroe 2020-11-22Day 1June McEnroe 2020-11-22Move to 2016 directoryJune McEnroe