Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correctly subscribe to query events.

  • Loading branch information...
commit 2603d93e0bad635995c3d050fb3dc5e20a815504 1 parent 4f0b340
@mavam authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/vast/query/search.cc
View
3  src/vast/query/search.cc
@@ -23,6 +23,7 @@ search::search(ze::io& io, store::archive& archive)
void search::init(std::string const& host, unsigned port)
{
source_.init(host, port);
+ source_.subscribe("VAST::query");
}
void search::stop()
@@ -65,7 +66,7 @@ void search::submit(ze::event_ptr query_event)
void search::validate(ze::event const& event)
{
- if (event.name() != "vast::query")
+ if (event.name() != "VAST::query")
throw exception("invalid query event name");
if (event.size() != 2)
Please sign in to comment.
Something went wrong with that request. Please try again.