mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-13 20:00:40 +03:00
Merge pull request #24 from onovo1/patch-1
Fix typo in the attribute parameter to the right format "core.rd". (Update coap-rd.c)
This commit is contained in:
commit
4ae33c8f7e
1 file changed
+1
-1
+1
-1
@@ -545,7 +545,7 @@ init_resources(coap_context_t *ctx) {
|
||||
coap_register_handler(r, COAP_REQUEST_POST, hnd_post_rd);
|
||||
|
||||
coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"40", 2, 0);
|
||||
coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"\"core-rd\"", 9, 0);
|
||||
coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"\"core.rd\"", 9, 0);
|
||||
coap_add_attr(r, (unsigned char *)"ins", 2, (unsigned char *)"\"default\"", 9, 0);
|
||||
|
||||
coap_add_resource(ctx, r);
|
||||
|
||||
Reference in new issue
Block a user