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

[or-cvs] r7071: Patch from Karsten Loesing: add missing space to SIGNAL comm (torctl/trunk/java/net/freehaven/tor/control)



Author: nickm
Date: 2006-08-17 18:49:29 -0400 (Thu, 17 Aug 2006)
New Revision: 7071

Modified:
   torctl/trunk/java/net/freehaven/tor/control/TorControlConnection1.java
Log:
Patch from Karsten Loesing: add missing space to SIGNAL command in java controller library.

Modified: torctl/trunk/java/net/freehaven/tor/control/TorControlConnection1.java
===================================================================
--- torctl/trunk/java/net/freehaven/tor/control/TorControlConnection1.java	2006-08-16 18:47:24 UTC (rev 7070)
+++ torctl/trunk/java/net/freehaven/tor/control/TorControlConnection1.java	2006-08-17 22:49:29 UTC (rev 7071)
@@ -380,7 +380,7 @@
     * </ul>
     */
     public void signal(String signal) throws IOException {
-        String cmd = "SIGNAL" + signal + "\r\n";
+        String cmd = "SIGNAL " + signal + "\r\n";
         sendAndWaitForResponse(cmd, null);
     }
     /** Tells the Tor server that future SOCKS requests for connections to a set of original