aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-05-25 17:44:35 +0000
committerOmar Polo <op@omarpolo.com>2024-05-25 17:44:35 +0000
commit89dca7ab54f5ff479fbf5d537009572288f2bfb8 (patch)
treeed200661ed3ae53ebe8d1dd93727962dd1b16b59 /server.c
parent359c56ce35111808ad8ccb48c32ff2d4f5a30a3d (diff)
s/MIN/MINIMUM/g
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 ad66fee..b215dad 100644
--- a/server.c
+++ b/server.c
@@ -31,7 +31,7 @@
#include "log.h"
#include "proc.h"
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#define MINIMUM(a, b) ((a) < (b) ? (a) : (b))
#ifndef nitems
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
@@ -853,7 +853,7 @@ client_tls_readcb(int fd, short event, void *d)
}
if (bufev->wm_read.high != 0)
- howmuch = MIN(sizeof(buf), bufev->wm_read.high);
+ howmuch = MINIMUM(sizeof(buf), bufev->wm_read.high);
switch (ret = tls_read(client->ctx, buf, howmuch)) {
case TLS_WANT_POLLIN: