Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
torbutton
Commits
fc0c8ed7
Commit
fc0c8ed7
authored
Mar 31, 2015
by
Georg Koppen
Browse files
Fix small typo in comment
parent
f0e1d504
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/tor-control-port.js
View file @
fc0c8ed7
...
...
@@ -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 pass
ed
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
"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment