# HG changeset patch # User d3v11 # Date 1352042526 0 # Node ID 3437107cbeba08da932e184df0f02530bc19caeb # Parent cb2b3cbe33688fba44ee05afd4e6fc245886668b vain diff -r cb2b3cbe3368 -r 3437107cbeba contrib/quicktun.socks4a/quicktun.socks4a --- a/contrib/quicktun.socks4a/quicktun.socks4a Sun Nov 04 15:16:59 2012 +0000 +++ b/contrib/quicktun.socks4a/quicktun.socks4a Sun Nov 04 15:22:06 2012 +0000 @@ -90,17 +90,15 @@ 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