projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
resource-directory
/
src
/
rd_server.c
diff --git
a/resource/csdk/resource-directory/src/rd_server.c
b/resource/csdk/resource-directory/src/rd_server.c
index
fb7a11c
..
799ac6e
100644
(file)
--- a/
resource/csdk/resource-directory/src/rd_server.c
+++ b/
resource/csdk/resource-directory/src/rd_server.c
@@
-177,7
+177,9
@@
static OCEntityHandlerResult rdEntityHandler(OCEntityHandlerFlag flag,
case OC_REST_PUT:
case OC_REST_OBSERVE:
case OC_REST_OBSERVE_ALL:
+#ifdef WITH_PRESENCE
case OC_REST_PRESENCE:
+#endif
case OC_REST_NOMETHOD:
break;
}