[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] oops, made a semantic change but forgot to rename all of th...



Update of /home/or/cvsroot/control/python
In directory moria:/tmp/cvs-serv28500

Modified Files:
	TorCtl1.py 
Log Message:
oops, made a semantic change but forgot to rename all of the variables


Index: TorCtl1.py
===================================================================
RCS file: /home/or/cvsroot/control/python/TorCtl1.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -d -r1.25 -r1.26
--- TorCtl1.py	22 Dec 2005 03:35:15 -0000	1.25
+++ TorCtl1.py	10 Jan 2006 04:05:31 -0000	1.26
@@ -315,9 +315,9 @@ class Connection(TorCtl._ConnectionBase)
     def redirect_stream(self, streamid, newaddr, newport=""):
         """DOCDOC"""
         if newport:
-            self._sendAndRecv("REDIRECTSTREAM %s %s %s\r\n"%(streamid, newtarget, newport))
+            self._sendAndRecv("REDIRECTSTREAM %s %s %s\r\n"%(streamid, newaddr, newport))
         else:
-            self._sendAndRecv("REDIRECTSTREAM %s %s\r\n"%(streamid, newtarget))
+            self._sendAndRecv("REDIRECTSTREAM %s %s\r\n"%(streamid, newaddr))
 
     def attach_stream(self, streamid, circid):
         """DOCDOC"""