minor fixes

This commit is contained in:
Olaf Bergmann committed 2011-06-13 18:57:51 +02:00
1 parent 588d53c909
commit ae79b6a325
2 files changed
+8

No files matched your search

+3
View File
@@ -8,6 +8,9 @@
#include "hashkey.h"
/* Caution: When changing this, update COAP_DEFAULT_WKC_HASHKEY
* accordingly (see int coap_hash_path());
*/
void
coap_hash_impl(const unsigned char *s, unsigned int len, coap_key_t h) {
size_t j;
+5
View File
@@ -33,6 +33,11 @@ void coap_hash_impl(const unsigned char *s, unsigned int len, coap_key_t h);
#define coap_hash(String,Length,Result) \
coap_hash_impl((String),(Length),(Result))
/* This is used to control the pre-set hash-keys for resources. */
#define __COAP_DEFAULT_HASH
#else
#undef __COAP_DEFAULT_HASH
#endif /* coap_hash */
/**