summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2015-01-06 22:19:57 +0100
committersin <sin@2f30.org>2015-01-07 03:13:58 +0000
commitce3ae41642d1b1cdb72060b1036d0c6c7e6bed96 (patch)
tree9d75f710e83c174f78a1cfac03e149e9ce6e1be8 /ratox.c
parented1782adf3acab500b520309a108afd1d941238d (diff)
Quick fix for API-change
More fundamental support for the now multiple proxy types will follow.
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index cae3405..cc06c4e 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1191,7 +1191,7 @@ toxinit(void)
snprintf(toxopt.proxy_address, sizeof(toxopt.proxy_address),
"%s", proxyaddr);
toxopt.proxy_port = proxyport;
- toxopt.proxy_enabled = 1;
+ toxopt.proxy_type = 1;
logmsg("Net > Using proxy %s:%hu\n", proxyaddr, proxyport);
}