replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / examples / directpairingclient.cpp
index 46b36a6..8f032e7 100644 (file)
@@ -236,7 +236,7 @@ static bool InputPIN(std::string& pin)
 
 int main(void)
 {
-    OCPersistentStorage ps {client_open, fread, fwrite, fclose, unlink };
+    OCPersistentStorage ps {client_open, fread, fwrite, fclose, unlink , NULL, NULL};
 
     // Create PlatformConfig object
     PlatformConfig cfg {