Merge commit 'bb9b01224212aa8e72032e397bfec762fcef8eea'

This merge fixes the bug in coap_str_hash() macro.
This commit is contained in:
Olaf Bergmann committed 2014-09-03 12:37:26 +02:00
commit a763d73331
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ void coap_hash_impl(const unsigned char *s, unsigned int len, coap_key_t h);
#define coap_str_hash(Str,H) { \
assert(Str); \
memset((H), 0, sizeof(coap_key_t)); \
coap_hash((H), (Str)->s, (Str)->length); \
coap_hash((Str)->s, (Str)->length, (H)); \
}
#endif /* _COAP_HASHKEY_H_ */