From 246aeb85edaed7bdb44a675c9524719a0341a7be Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 16 Feb 2014 11:34:26 -0600 Subject: Fix unintended renaming --- kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kopete/protocols/jabber/libiris/cutestuff') diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp index baa1eb84..f314e23e 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp @@ -208,9 +208,9 @@ void SocksUDP::sn_activated(int) //---------------------------------------------------------------------------- // SocksClient //---------------------------------------------------------------------------- -#define RETQ_CONNECT 0x01 -#define RETQ_BIND 0x02 -#define RETQ_UDPASSOCIATE 0x03 +#define REQ_CONNECT 0x01 +#define REQ_BIND 0x02 +#define REQ_UDPASSOCIATE 0x03 #define RET_SUCCESS 0x00 #define RET_UNREACHABLE 0x04 @@ -838,7 +838,7 @@ void SocksClient::do_request() fprintf(stderr, "SocksClient: Requesting ...\n"); #endif d->step = StepRequest; - int cmd = d->udp ? RETQ_UDPASSOCIATE : RETQ_CONNECT; + int cmd = d->udp ? REQ_UDPASSOCIATE : REQ_CONNECT; TQByteArray buf; if(!d->real_host.isEmpty()) buf = sp_set_request(d->real_host, d->real_port, cmd); @@ -956,7 +956,7 @@ void SocksClient::continueIncoming() } else if(r == 1) { d->waiting = true; - if(s.cmd == RETQ_CONNECT) { + if(s.cmd == REQ_CONNECT) { if(!s.host.isEmpty()) d->rhost = s.host; else @@ -964,7 +964,7 @@ void SocksClient::continueIncoming() d->rport = s.port; incomingConnectRequest(d->rhost, d->rport); } - else if(s.cmd == RETQ_UDPASSOCIATE) { + else if(s.cmd == REQ_UDPASSOCIATE) { incomingUDPAssociateRequest(); } else { -- cgit v1.2.1