[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix a tor-resolve bug that could not possibly have ever wor...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] fix a tor-resolve bug that could not possibly have ever wor...
- From: arma@seul.org (Roger Dingledine)
- Date: Tue, 9 Nov 2004 04:27:36 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 09 Nov 2004 04:28:07 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/contrib
In directory moria.mit.edu:/home2/arma/work/onion/cvs/contrib
Modified Files:
tor-resolve.py
Log Message:
fix a tor-resolve bug that could not possibly have ever worked but
python is too braindead^Wflexible to be able to tell us
Index: tor-resolve.py
===================================================================
RCS file: /home/or/cvsroot/contrib/tor-resolve.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tor-resolve.py 28 Oct 2004 20:30:10 -0000 1.1
+++ tor-resolve.py 9 Nov 2004 09:27:34 -0000 1.2
@@ -40,7 +40,7 @@
port = 0
atype = 0x03
reqheader = struct.pack("!BBBB",version, command, rsv, atype)
- portstr = struct.pach("!H",port)
+ portstr = struct.pack("!H",port)
return "%s%s\0%s"%(reqheader,hostname,port)
def socks5ParseResponse(r):
if len(r)<8: return None