aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
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;