use COAP_MEDIATYPE_ANY for /time

This commit is contained in:
Olaf Bergmann committed 2010-07-23 18:48:45 +02:00
1 parent a322122f50
commit d90a72d94a
1 file changed
+1 -1
+1 -1
View File
@@ -686,7 +686,7 @@ init_resources(coap_context_t *ctx) {
return;
r->uri = coap_new_uri((const unsigned char *) "/time");
r->mediatype = COAP_MEDIATYPE_TEXT_XML;
r->mediatype = COAP_MEDIATYPE_ANY;
r->dirty = 0;
r->data = resource_time;
coap_add_resource( ctx, r );