summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/CLI/main.cpp')
-rw-r--r--Slimber/CLI/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Slimber/CLI/main.cpp b/Slimber/CLI/main.cpp
index 65af3bc..3a72ca1 100644
--- a/Slimber/CLI/main.cpp
+++ b/Slimber/CLI/main.cpp
@@ -22,8 +22,8 @@ int main() {
querier->start();
boost::shared_ptr<DNSSDBrowseQuery> query = querier->createBrowseQuery();
query->startBrowsing();
- boost::shared_ptr<DNSSDPublishQuery> query2 = querier->createPublishQuery("remko", 1234, LinkLocalServiceInfo());
- query2->publish();
+ boost::shared_ptr<DNSSDRegisterQuery> query2 = querier->createRegisterQuery("remko", 1234, LinkLocalServiceInfo());
+ query2->registerService();
/*
boost::shared_ptr<DNSSDService> dnsSDService;