aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-07-08 20:06:02 +0000
committerOmar Polo <op@omarpolo.com>2024-07-08 20:06:02 +0000
commita0ec9cd6ce94b26faa1ab2f4407e6b0d0d43045d (patch)
treedfe012c74468b2ee8a4a179f31536c63af1a3600 /gmid.h
parent8d9aeea2c909b41533ac80622b532f93657fb815 (diff)
fmt
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/gmid.h b/gmid.h
index 8c8ec7c..c6cdf55 100644
--- a/gmid.h
+++ b/gmid.h
@@ -299,8 +299,7 @@ struct proxy_protocol_v1 {
#define BUFLAYER_MAX 108
-struct buflayer
-{
+struct buflayer {
char data[BUFLAYER_MAX];
size_t len;
ssize_t read_pos;
@@ -309,17 +308,17 @@ struct buflayer
struct client {
struct conf *conf;
- struct address *addr;
- int should_buffer;
- struct buflayer buf;
- uint32_t id;
+ struct address *addr;
+ int should_buffer;
+ struct buflayer buf;
+ uint32_t id;
struct tls *ctx;
char *req;
- size_t reqlen;
- struct iri iri;
- char domain[DOMAIN_NAME_LEN];
- char rhost[NI_MAXHOST];
- char rserv[NI_MAXSERV];
+ size_t reqlen;
+ struct iri iri;
+ char domain[DOMAIN_NAME_LEN];
+ char rhost[NI_MAXHOST];
+ char rserv[NI_MAXSERV];
struct bufferevent *bev;