From f936888ca8353437dd1ad09ac3df547772747a11 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 4 Nov 2012 15:22:06 +0000 Subject: vain --- contrib/quicktun.socks4a/quicktun.socks4a | 8 +++----- 1 file 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 -- cgit v1.2.3