summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-20 15:12:13 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-20 15:12:13 +0200
commit9da3a20a0b58374618d8723d7c961dd45491ba13 (patch)
tree49977d5e881fd816e3046fc54a46776f39f9cc0b /proxy.h
parent77f9be38d7469eefb0fac3adf43261b4d84315d2 (diff)
Rename scfg to server throughout for consistency
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy.h b/proxy.h
index 8812fa6..d0533e0 100644
--- a/proxy.h
+++ b/proxy.h
@@ -17,7 +17,7 @@ struct server_proxy {
time_t begin;
unsigned next_remote;
struct uring_task task;
- struct server *scfg;
+ struct server *server;
struct list_head list;
};
@@ -25,6 +25,6 @@ void proxy_refdump(struct server_proxy *proxy);
void proxy_delete(struct cfg *cfg, struct server_proxy *proxy);
-struct server_proxy *proxy_new(struct cfg *cfg, struct server *scfg, struct saddr *client, int fd);
+struct server_proxy *proxy_new(struct cfg *cfg, struct server *server, struct saddr *client, int fd);
#endif