replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / examples / directpairingclient.cpp
index dfea47c..8f032e7 100644 (file)
@@ -35,7 +35,6 @@
 #include "OCPlatform.h"
 #include "OCApi.h"
 
-#define MAX_URI_LENGTH (64)
 #define MAX_PERMISSION_LENGTH (5)
 #define CREATE (1)
 #define READ (2)
@@ -237,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 {