Fix the build error for tizen 5.5's dlog format 47/201747/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 19 Mar 2019 06:00:04 +0000 (15:00 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 19 Mar 2019 07:02:52 +0000 (16:02 +0900)
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/460
(cherry picked from 2d37162b292d4feb28339626604c19a365ce0e1e)

Change-Id: Ic4a8642d74aa146055b00cd9f9f338b2e6813f1d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
resource/csdk/connectivity/src/tcp_adapter/catcpserver.c

index c8c87c3..748d9a8 100644 (file)
@@ -963,7 +963,7 @@ static CAResult_t CATCPCreateSocket(int family, CATCPSessionInfo_t *svritem)
         OIC_LOG_V(INFO, TAG, "HTTP status_code : %d", status_code);
         if(status_code < 200 || status_code > 299)
        {
-            OIC_LOG_V(ERROR, TAG, "Error, Wrong status code", status_code);
+            OIC_LOG_V(ERROR, TAG, "Error, Wrong status code: %d", status_code);
             close(fd);
             svritem->fd = -1;
             return CA_SOCKET_OPERATION_FAILED;