summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLloyd Hilaiel <lloyd@hilaiel.com>2011-04-21 10:56:51 -0600
committerLloyd Hilaiel <lloyd@hilaiel.com>2011-04-21 13:58:28 -0600
commit9813127163116b7f928c383f14bb8618675a9694 (patch)
tree66fbf6ebf56d9bbe75095f5b97bab7fc22b2115e /test
parent0858bb341280956947df1cfae33eb5ac6ecfe6f7 (diff)
downloadyajl-9813127163116b7f928c383f14bb8618675a9694.tar.gz
rename yajl_parse_complete to yajl_complete_parse. the latter is correctly an imperative, while the former might be confused for a question.
Diffstat (limited to 'test')
-rw-r--r--test/yajl_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/yajl_test.c b/test/yajl_test.c
index 7d507f8..d669ca4 100644
--- a/test/yajl_test.c
+++ b/test/yajl_test.c
@@ -253,7 +253,7 @@ main(int argc, char ** argv)
if (stat != yajl_status_ok) break;
}
- stat = yajl_parse_complete(hand);
+ stat = yajl_complete_parse(hand);
if (stat != yajl_status_ok)
{
unsigned char * str = yajl_get_error(hand, 0, fileData, rd);