Replace normal Tag in Log with Easy Setup specified Tag
authorHeewon Park <h_w.park@samsung.com>
Thu, 25 Aug 2016 07:16:39 +0000 (16:16 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 25 Aug 2016 08:41:03 +0000 (08:41 +0000)
 - using wrong TAG.

Change-Id: If4e01e3e7d66116e69ffe7e76fb8a2d875de4eb9
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10899
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/enrollee/src/resourcehandler.c

index fa4dfb5..23624bb 100755 (executable)
@@ -618,7 +618,7 @@ OCRepPayload* constructResponseOfProv(OCEntityHandlerRequest *ehRequest)
             OCRepPayload *add = OCRepPayloadCreate();
             if(!add)
             {
-                OIC_LOG(ERROR, TAG, "Failed to allocate Payload");
+                OIC_LOG(ERROR, ES_RH_TAG, "Failed to allocate Payload");
                 return NULL;
             }
 
@@ -630,7 +630,7 @@ OCRepPayload* constructResponseOfProv(OCEntityHandlerRequest *ehRequest)
 
             if(!resourceType || !resourceInterface)
             {
-                OIC_LOG(ERROR, TAG, "Failed to allocate Payload");
+                OIC_LOG(ERROR, ES_RH_TAG, "Failed to allocate Payload");
                 return NULL;
             }
 
@@ -652,7 +652,7 @@ OCRepPayload* constructResponseOfProv(OCEntityHandlerRequest *ehRequest)
             OCRepPayload *add = OCRepPayloadCreate();
             if(!add)
             {
-                OIC_LOG(ERROR, TAG, "Failed to allocate Payload");
+                OIC_LOG(ERROR, ES_RH_TAG, "Failed to allocate Payload");
                 return NULL;
             }
 
@@ -664,7 +664,7 @@ OCRepPayload* constructResponseOfProv(OCEntityHandlerRequest *ehRequest)
 
             if(!resourceType || !resourceInterface)
             {
-                OIC_LOG(ERROR, TAG, "Failed to allocate Payload");
+                OIC_LOG(ERROR, ES_RH_TAG, "Failed to allocate Payload");
                 return NULL;
             }
 
@@ -686,7 +686,7 @@ OCRepPayload* constructResponseOfProv(OCEntityHandlerRequest *ehRequest)
             OCRepPayload *add = OCRepPayloadCreate();
             if(!add)
             {
-                OIC_LOG(ERROR, TAG, "Failed to allocate Payload");
+                OIC_LOG(ERROR, ES_RH_TAG, "Failed to allocate Payload");
                 return NULL;
             }
 
@@ -698,7 +698,7 @@ OCRepPayload* constructResponseOfProv(OCEntityHandlerRequest *ehRequest)
 
             if(!resourceType || !resourceInterface)
             {
-                OIC_LOG(ERROR, TAG, "Failed to allocate Payload");
+                OIC_LOG(ERROR, ES_RH_TAG, "Failed to allocate Payload");
                 return NULL;
             }