modify the OCTransportAdapter structure in RI
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Mon, 14 Sep 2015 08:20:25 +0000 (17:20 +0900)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Mon, 14 Sep 2015 16:53:49 +0000 (16:53 +0000)
currently if RA and TCP are together used, there is a compile issue.
so I fixed the issue to build iotivity.

Change-Id: I844deb28afc1556d7faa9c33ac4062550d9e223c
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2507
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
resource/csdk/stack/include/octypes.h

index 4c702be..22ce6b1 100644 (file)
@@ -293,12 +293,12 @@ typedef enum
 
 #ifdef RA_ADAPTER
     /**Remote Access over XMPP.*/
-   OC_ADAPTER_REMOTE_ACCESS = (1 << 3)
+    OC_ADAPTER_REMOTE_ACCESS = (1 << 3),
 #endif
 
 #ifdef TCP_ADAPTER
     /** CoAP over TCP.*/
-   OC_ADAPTER_TCP           = (1 << 4)
+    OC_ADAPTER_TCP           = (1 << 4)
 #endif
 
 } OCTransportAdapter;