Fix the build error for tizen 5.5's dlog format 46/201746/1 submit/tizen/20190320.085337
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:08 +0000 (16:02 +0900)
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/460
(cherry picked from 2d37162b292d4feb28339626604c19a365ce0e1e)

Change-Id: I6ecc43e87901fd9c3c49e1bd119dd8b951b50f21
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(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;
             close(fd);
             svritem->fd = -1;
             return CA_SOCKET_OPERATION_FAILED;