Merge "Removed a printf statement in ocstack.c" into connectivity-abstraction
authorsudarshan prasad <sudarshan.prasad@intel.com>
Sat, 20 Dec 2014 09:21:50 +0000 (01:21 -0800)
committerGerrit Code Review <gerrit@oicreview.vlan14.01.org>
Sat, 20 Dec 2014 09:21:50 +0000 (01:21 -0800)
resource/csdk/stack/src/ocstack.c

index b4115f3..37113f0 100644 (file)
@@ -382,7 +382,6 @@ void HandleCARequests(const CARemoteEndpoint_t* endPoint, const CARequestInfo_t*
     // TODO-CA: CA is including non-vendor header options as well, like observe.
     // Need to filter those out
     GetObserveHeaderOption(&serverRequest.observationOption, requestInfo->info.options, &(requestInfo->info.numOptions));
-    printf("\n*****************************\nobservation is %u\n**********************************\n",serverRequest.observationOption);
     if (requestInfo->info.numOptions > MAX_HEADER_OPTIONS)
     {
         // TODO-CA: Need to send an error indicating the num of options is incorrect
@@ -1247,7 +1246,7 @@ OCStackResult OCDoResource(OCDoHandle *handle, OCMethod method, const char *requ
     requestData.token = caToken;
     if ((method == OC_REST_OBSERVE) || (method == OC_REST_OBSERVE_ALL))
     {
-        result = CreateObserveHeaderOption (&(requestData.options), options, 
+        result = CreateObserveHeaderOption (&(requestData.options), options,
                                     numOptions, OC_OBSERVE_REGISTER);
         if (result != OC_STACK_OK)
         {