summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4b962d3)
raw | patch | inline | side by side (parent: 4b962d3)
author | jbergstroem <bugs@bergstroem.nu> | |
Wed, 24 Aug 2011 14:25:29 +0000 (16:25 +0200) | ||
committer | jbergstroem <bugs@bergstroem.nu> | |
Wed, 24 Aug 2011 14:25:29 +0000 (16:25 +0200) |
Change-Id: Ie3e0380721d88e54cb5630e1c3ecb613790b32b3
src/curl_json.c | patch | blob | history |
diff --git a/src/curl_json.c b/src/curl_json.c
index 988ed58df3442459d23ef25b20894df6f82ae21e..857e276bb585e16a9f872d4863f43e86c20d1e2d 100644 (file)
--- a/src/curl_json.c
+++ b/src/curl_json.c
return (-1);
}
- status = yajl_parse_complete (db->yajl);
+#if HAVE_YAJL_V2
+ status = yajl_complete_parse(db->yajl);
+#else
+ status = yajl_parse_complete(db->yajl);
+#endif
if (status != yajl_status_ok)
{
unsigned char *errmsg;