diff options
author | d3v11 <d3v11@d3v11.ano> | 2012-11-04 15:22:06 +0000 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2012-11-04 15:22:06 +0000 |
commit | f936888ca8353437dd1ad09ac3df547772747a11 (patch) | |
tree | 88345cad58e9bada7a5f30af138b7656ac7f2fe6 | |
parent | ff734c8f8ac6108dc120ae073b1422f9f8f00084 (diff) | |
download | resdb-f936888ca8353437dd1ad09ac3df547772747a11.tar.gz resdb-f936888ca8353437dd1ad09ac3df547772747a11.zip |
vain
-rwxr-xr-x | contrib/quicktun.socks4a/quicktun.socks4a | 8 |
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 |