This commit is contained in:
Olaf Bergmann committed 2012-01-02 21:37:39 +01:00
1 parent e996a100b5
commit f7c41a85f5
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ coap_add_attr(coap_resource_t *resource,
if (!resource || !name)
return NULL;
#ifdef WITH_CONTIKI
#ifndef WITH_CONTIKI
attr = (coap_attr_t *)coap_malloc(sizeof(coap_attr_t));
#else /* WITH_CONTIKI */
attr = (coap_attr_t *)memb_alloc(&attribute_storage);