summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2012-11-04 15:22:06 +0000
committerd3v11 <d3v11@d3v11.ano>2012-11-04 15:22:06 +0000
commitf936888ca8353437dd1ad09ac3df547772747a11 (patch)
tree88345cad58e9bada7a5f30af138b7656ac7f2fe6 /contrib
parentff734c8f8ac6108dc120ae073b1422f9f8f00084 (diff)
downloadresdb-f936888ca8353437dd1ad09ac3df547772747a11.tar.gz
resdb-f936888ca8353437dd1ad09ac3df547772747a11.zip
vain
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/quicktun.socks4a/quicktun.socks4a8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/quicktun.socks4a/quicktun.socks4a b/contrib/quicktun.socks4a/quicktun.socks4a
index 7534f5c..14bce2c 100755
--- a/contrib/quicktun.socks4a/quicktun.socks4a
+++ b/contrib/quicktun.socks4a/quicktun.socks4a
@@ -90,17 +90,15 @@ while 1:
if len(sendq)>0:
try:
- sendq = sendq[os.write (tun_stdin,sendq[:1024])
- :]
+ sendq = sendq [os.write(tun_stdin,sendq[:1024]):]
except OSError as ex:
if ex.errno!=11:
break
if len(recvq)>0:
try:
- recvq = recvq[udp.sendto (recvq[:1024],
- (LOCAL_ADDRESS,LOCAL_PORT))
- :]
+ recvq = recvq [udp.sendto(recvq[:1024],
+ (LOCAL_ADDRESS,LOCAL_PORT)):]
except OSError as ex:
if ex.errno!=11:
break