Navigation Menu

Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 27, 2014
1 parent 7e4c1c2 commit eecad74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/serf.rb
Expand Up @@ -57,13 +57,13 @@ def load_status
end

def send_event(name, event, payload)
serf = new(nul, name)
serf = new(nil, name)
serf.run("event", JSON.generate(payload))
serf.shutdown
end

def send_query(name, query, payload)
serf = new(nul, name)
serf = new(nil, name)
serf.run("query", JSON.generate(payload))
serf.shutdown
end
Expand Down

0 comments on commit eecad74

Please sign in to comment.