[version] 2.13
[platform/core/api/webapi-plugins.git] / src / iotcon / iotcon_instance.cc
index d650699..705fb1f 100644 (file)
@@ -1379,12 +1379,12 @@ common::TizenResult IotconInstance::ClientFindResource(const picojson::object& a
     delete data;
     LogAndReturnTizenError(result);
   } else {
-    int timeout = 60; //default value set much bigger than default value for iotcon = 30s
+    int timeout = 60;  // default value set much bigger than default value for iotcon = 30s
     auto result = IotconUtils::ConvertIotconError(iotcon_get_timeout(&timeout));
     if (!result) {
       LoggerE("iotcon_get_timeout - function call failed, using default value %d", timeout);
     } else {
-      timeout = timeout + 10; //add 10 extra second to prevent too fast delete
+      timeout = timeout + 10;  // add 10 extra second to prevent too fast delete
     }
     // adding listener to delete data, when find would be finished
     std::thread([data, timeout]() {
@@ -1550,12 +1550,12 @@ common::TizenResult IotconInstance::ClientFindDeviceInfo(const picojson::object&
     delete data;
     LogAndReturnTizenError(result);
   } else {
-    int timeout = 60; //default value set much bigger than default value for iotcon = 30s
+    int timeout = 60;  // default value set much bigger than default value for iotcon = 30s
     auto result = IotconUtils::ConvertIotconError(iotcon_get_timeout(&timeout));
     if (!result) {
       LoggerE("iotcon_get_timeout - function call failed, using default value %d", timeout);
     } else {
-      timeout = timeout + 10; //add 10 extra second to prevent too fast delete
+      timeout = timeout + 10;  // add 10 extra second to prevent too fast delete
     }
     // adding listener to delete data, when find would be finished
     std::thread([data, timeout]() {
@@ -1656,12 +1656,12 @@ common::TizenResult IotconInstance::ClientFindPlatformInfo(const picojson::objec
     delete data;
     LogAndReturnTizenError(result);
   } else {
-    int timeout = 60; //default value set much bigger than default value for iotcon = 30s
+    int timeout = 60;  // default value set much bigger than default value for iotcon = 30s
     auto result = IotconUtils::ConvertIotconError(iotcon_get_timeout(&timeout));
     if (!result) {
       LoggerE("iotcon_get_timeout - function call failed, using default value %d", timeout);
     } else {
-      timeout = timeout + 10; //add 10 extra second to prevent too fast delete
+      timeout = timeout + 10;  // add 10 extra second to prevent too fast delete
     }
     // adding listener to delete data, when find would be finished
     std::thread([data, timeout]() {