Added Content-Type to observe notifications.
This commit is contained in:
parent
949ba03bda
commit
c023faead2
2 changed files with 5 additions and 2 deletions
|
@ -259,7 +259,7 @@ resource_t resource_##name = {NULL, flags, url, attributes, name##_handler, NULL
|
|||
* Macro to define a sub-resource
|
||||
* Make sure to define its parent resource beforehand and set 'parent' to that name.
|
||||
*/
|
||||
#define SUB_RESOURCE(name, flags, url, attributes, parent) \
|
||||
#define SUB_RESOURCE(name, flags, url, attributes, parent) \
|
||||
resource_t resource_##name = {NULL, flags, url, attributes, parent##_handler, NULL, NULL, NULL}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue