summaryrefslogtreecommitdiff
path: root/src/mod_proxy65/mod_proxy65_lib.erl
diff options
context:
space:
mode:
authorJérôme Sautret <jerome.sautret@process-one.net>2007-06-27 11:05:14 +0000
committerJérôme Sautret <jerome.sautret@process-one.net>2007-06-27 11:05:14 +0000
commit2e00142b38216e7bcf2023350357e6f5caf5aa5e (patch)
tree58fd15d2b71a271833a3da4f9ee60d8b7edf559c /src/mod_proxy65/mod_proxy65_lib.erl
parentUnsafe working version of http file transfer (diff)
Cancel revision 798
SVN Revision: 799
Diffstat (limited to '')
-rw-r--r--src/mod_proxy65/mod_proxy65_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_proxy65/mod_proxy65_lib.erl b/src/mod_proxy65/mod_proxy65_lib.erl
index 02d4ecbe..09ee6b98 100644
--- a/src/mod_proxy65/mod_proxy65_lib.erl
+++ b/src/mod_proxy65/mod_proxy65_lib.erl
@@ -53,7 +53,7 @@ make_init_reply(Method) ->
[?VERSION_5, Method].
make_auth_reply(true) -> [1, ?SUCCESS];
-make_auth_reply(false) -> [1, ?SOCKS5_ERR_NOT_ALLOWED].
+make_auth_reply(false) -> [1, ?ERR_NOT_ALLOWED].
%% WARNING: According to SOCKS5 RFC, this reply is _incorrect_, but
%% Psi writes junk to the beginning of the file on correct reply.
@@ -63,7 +63,7 @@ make_reply() ->
[?VERSION_5, ?SUCCESS, 0, 0, 0, 0].
make_error_reply(Request) ->
- make_error_reply(Request, ?SOCKS5_ERR_NOT_ALLOWED).
+ make_error_reply(Request, ?ERR_NOT_ALLOWED).
make_error_reply(#s5_request{rsv = RSV, sha1 = SHA1}, Reason) ->
[?VERSION_5, Reason, RSV, ?ATYP_DOMAINNAME, length(SHA1), SHA1, 0,0].