summaryrefslogtreecommitdiff
path: root/ext/json/JSON_parser.h
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2010-05-21 23:29:34 +0000
committerSara Golemon <pollita@php.net>2010-05-21 23:29:34 +0000
commita0269a6a7271f7bc3d3355710f19649716c67d14 (patch)
tree7ea3267c3eecd1038471b7dfe47148d53db04c77 /ext/json/JSON_parser.h
parent6eb4218433e5b2af2974648b31ca434b1aa4e314 (diff)
downloadphp-git-a0269a6a7271f7bc3d3355710f19649716c67d14.tar.gz
Ooops, return values...
Diffstat (limited to 'ext/json/JSON_parser.h')
-rw-r--r--ext/json/JSON_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/JSON_parser.h b/ext/json/JSON_parser.h
index e02c9fc534..541664b8c6 100644
--- a/ext/json/JSON_parser.h
+++ b/ext/json/JSON_parser.h
@@ -34,7 +34,7 @@ extern int free_JSON_parser(JSON_parser jp);
static inline int parse_JSON(JSON_parser jp, zval *z, unsigned short utf16_json[], int length, int assoc TSRMLS_DC)
{
- parse_JSON_ex(jp, z, utf16_json, length, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0 TSRMLS_CC);
+ return parse_JSON_ex(jp, z, utf16_json, length, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0 TSRMLS_CC);
}
#endif