From e6548a3dc2097b6d3affa07a3a57f80e2a4a99f7 Mon Sep 17 00:00:00 2001 From: Michael Clark Date: Sat, 10 Jan 2009 13:58:06 +0000 Subject: [PATCH] fix typo in json_object.h git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@28 327403b1-1117-474d-bef2-5cb71233fd97 --- json_object.c | 2 +- json_object.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/json_object.c b/json_object.c index f0ce5f7..3ff4d64 100644 --- a/json_object.c +++ b/json_object.c @@ -243,7 +243,7 @@ struct json_object* json_object_new_object() if(!this) return NULL; this->_delete = &json_object_object_delete; this->_to_json_string = &json_object_object_to_json_string; - this->o.c_object = lh_kchar_table_new(JSON_OBJECT_DEF_HASH_ENTIRES, + this->o.c_object = lh_kchar_table_new(JSON_OBJECT_DEF_HASH_ENTRIES, NULL, &json_object_lh_entry_free); return this; } diff --git a/json_object.h b/json_object.h index bbfea85..4c8f6db 100644 --- a/json_object.h +++ b/json_object.h @@ -12,7 +12,7 @@ #ifndef _json_object_h_ #define _json_object_h_ -#define JSON_OBJECT_DEF_HASH_ENTIRES 16 +#define JSON_OBJECT_DEF_HASH_ENTRIES 16 #undef FALSE #define FALSE ((boolean)0) -- 2.40.0