diff options
author | Omar Polo <op@omarpolo.com> | 2024-07-08 20:06:02 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-07-08 20:06:02 +0000 |
commit | a0ec9cd6ce94b26faa1ab2f4407e6b0d0d43045d (patch) | |
tree | dfe012c74468b2ee8a4a179f31536c63af1a3600 /gmid.h | |
parent | 8d9aeea2c909b41533ac80622b532f93657fb815 (diff) |
fmt
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -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; |