|
@@ -229,7 +229,7 @@ do {
|
|
|
#define HASH_FIND_STR(head,findstr,out) \
|
|
|
HASH_FIND(hh,head,findstr,strlen(findstr),out)
|
|
|
#define HASH_ADD_STR(head,strfield,add) \
|
|
|
- HASH_ADD(hh,head,strfield,strlen(add->strfield),add)
|
|
|
+ HASH_ADD(hh,head,strfield[0],strlen(add->strfield),add)
|
|
|
#define HASH_FIND_INT(head,findint,out) \
|
|
|
HASH_FIND(hh,head,findint,sizeof(int),out)
|
|
|
#define HASH_ADD_INT(head,intfield,add) \
|