aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-26 09:44:46 +0000
committerOmar Polo <op@omarpolo.com>2023-06-26 09:44:46 +0000
commited164e7221f75d3d7f48351e9427f2ce53ab284a (patch)
tree02b5682b5b239673ace2add072f4ea6d836e3194 /gmid.h
parentda0821b6cb54a85bcbe76cdf0a9a16f8f1a14619 (diff)
call getnameinfo() only once per request
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index 71c9815..8cad485 100644
--- a/gmid.h
+++ b/gmid.h
@@ -281,6 +281,8 @@ struct client {
size_t reqlen;
struct iri iri;
char domain[DOMAIN_NAME_LEN];
+ char rhost[NI_MAXHOST];
+ char rserv[NI_MAXSERV];
struct bufferevent *bev;