diff options
author | Jooseok Park <jooseok.park@samsung.com> | 2017-03-28 16:41:05 +0900 |
---|---|---|
committer | Jooseok Park <jooseok.park@samsung.com> | 2017-03-28 16:41:05 +0900 |
commit | 856667df24306acb41efd8a0673b2fa656064353 (patch) | |
tree | 1979c4538fb73ea8db4526292ffa261a2ba79219 | |
parent | 1605166868a8d9e9cdaca6a590d5847f0182fe7d (diff) | |
download | iotcon-856667df24306acb41efd8a0673b2fa656064353.tar.gz iotcon-856667df24306acb41efd8a0673b2fa656064353.tar.bz2 iotcon-856667df24306acb41efd8a0673b2fa656064353.zip |
Fix the comparison in request handler callback
- Change the comparision with null to IntPtr.Zero
Change-Id: If7018c1ad04836db1f301a5f6a675ebaa92d849e
-rwxr-xr-x | Tizen.Network.IoTConnectivity/Tizen.Network.IoTConnectivity/IoTConnectivityServerManager.cs | 4 | ||||
-rw-r--r-- | packaging/csapi-network-iotconnectivity.spec | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Tizen.Network.IoTConnectivity/Tizen.Network.IoTConnectivity/IoTConnectivityServerManager.cs b/Tizen.Network.IoTConnectivity/Tizen.Network.IoTConnectivity/IoTConnectivityServerManager.cs index 71cd519..3123ce1 100755 --- a/Tizen.Network.IoTConnectivity/Tizen.Network.IoTConnectivity/IoTConnectivityServerManager.cs +++ b/Tizen.Network.IoTConnectivity/Tizen.Network.IoTConnectivity/IoTConnectivityServerManager.cs @@ -119,9 +119,9 @@ namespace Tizen.Network.IoTConnectivity Log.Info(IoTConnectivityErrorFactory.LogTag, "Received s_RequestHandlerCallbackMap : " + requestId); - if (request == null) + if (request == IntPtr.Zero) { - Log.Error(IoTConnectivityErrorFactory.LogTag, "request is null"); + Log.Error(IoTConnectivityErrorFactory.LogTag, "request is IntPtr.Zero"); return; } resource.OnRequest(r_resource, request, userData); diff --git a/packaging/csapi-network-iotconnectivity.spec b/packaging/csapi-network-iotconnectivity.spec index 6ff369d..af6bfe4 100644 --- a/packaging/csapi-network-iotconnectivity.spec +++ b/packaging/csapi-network-iotconnectivity.spec @@ -1,6 +1,6 @@ Name: csapi-network-iotconnectivity Summary: Tizen IoT Connectivity API for C# -Version: 1.0.4 +Version: 1.0.5 Release: 1 Group: Development/Libraries License: Apache-2.0 |