[tor-commits] [torbutton/master] Fix small typo in comment

gk at torproject.org gk at torproject.org
Tue Mar 31 11:28:15 UTC 2015


commit fc0c8ed76346f2bb0b4d139ca444cbc404df5d07
Author: Georg Koppen <gk at torproject.org>
Date:   Tue Mar 31 07:33:51 2015 +0000

    Fix small typo in comment
---
 src/modules/tor-control-port.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/tor-control-port.js b/src/modules/tor-control-port.js
index e4c7d16..de9f10a 100644
--- a/src/modules/tor-control-port.js
+++ b/src/modules/tor-control-port.js
@@ -606,7 +606,7 @@ event.messageToData = function (type, message) {
 
 // __event.watchEvent(controlSocket, type, filter, onData)__.
 // Watches for a particular type of event. If filter(data) returns true, the event's
-// data is pass to the onData callback. Returns a zero arg function that
+// data is passed to the onData callback. Returns a zero arg function that
 // stops watching the event.
 event.watchEvent = function (controlSocket, type, filter, onData) {
   return controlSocket.addNotificationCallback(new RegExp("^650." + type, "i"),



More information about the tor-commits mailing list