From 602ff84dbbd7741f9c93ebca1af363d7b2f98ca2 Mon Sep 17 00:00:00 2001 From: Inga Stotland Date: Tue, 24 May 2016 14:55:13 -0700 Subject: [PATCH] Fix debug output Change-Id: I740808bb198809b5103e69d540ce1ae1b0dc5f15 Signed-off-by: Inga Stotland Reviewed-on: https://gerrit.iotivity.org/gerrit/8311 Tested-by: jenkins-iotivity Reviewed-by: jihwan seo Reviewed-by: Jon A. Cruz --- resource/csdk/connectivity/common/src/uqueue.c | 4 ++-- resource/csdk/stack/src/ocstack.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resource/csdk/connectivity/common/src/uqueue.c b/resource/csdk/connectivity/common/src/uqueue.c index 395e07f..5464ea8 100644 --- a/resource/csdk/connectivity/common/src/uqueue.c +++ b/resource/csdk/connectivity/common/src/uqueue.c @@ -119,7 +119,7 @@ u_queue_message_t *u_queue_get_element(u_queue_t *queue) if (NULL == queue) { - OIC_LOG(DEBUG, TAG, "QueueAddElement FAIL, Invalid Queue"); + OIC_LOG(DEBUG, TAG, "QueueGetElement FAIL, Invalid Queue"); return NULL; } @@ -130,7 +130,7 @@ u_queue_message_t *u_queue_get_element(u_queue_t *queue) return NULL; } - queue->element = element->next;; + queue->element = element->next; queue->count--; message = element->message; diff --git a/resource/csdk/stack/src/ocstack.c b/resource/csdk/stack/src/ocstack.c index 6b18641..abc1c6e 100644 --- a/resource/csdk/stack/src/ocstack.c +++ b/resource/csdk/stack/src/ocstack.c @@ -1376,7 +1376,7 @@ void OCHandleResponse(const CAEndpoint_t* endPoint, const CAResponseInfo_t* resp return; } - OIC_LOG(INFO, TAG, "Exit HandleCAResponses"); + OIC_LOG(INFO, TAG, "Exit OCHandleResponse"); } void HandleCAResponses(const CAEndpoint_t* endPoint, const CAResponseInfo_t* responseInfo) -- 2.7.4