Fix wrong argument of findResource()
authorSangyoon Jang <jeremy.jang@samsung.com>
Mon, 12 Mar 2018 05:02:59 +0000 (14:02 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Mon, 12 Mar 2018 05:02:59 +0000 (14:02 +0900)
Change-Id: I7d315ada4a30677d0ba4bca5e20615e31814f089
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/iotivity.cc

index 5f941238e0f3de2f07dd02fe828a2d6a7b905dd7..ce3a54fe78c61c2aa0682247935846192a141096 100644 (file)
@@ -59,7 +59,7 @@ void Iotivity::RegisterResource() {
 }
 
 void Iotivity::FindResource() {
-  OCStackResult result = OC::OCPlatform::findResource(nullptr, nullptr,
+  OCStackResult result = OC::OCPlatform::findResource("", "",
       CT_DEFAULT, std::bind(&Iotivity::FindCb, this, std::placeholders::_1));
   if (result != OC_STACK_OK)
     LOG(ERROR) << "OCPlatform::findResource() failed: " << result;