summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
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