diff options
Diffstat (limited to 'lib/oauth2.c')
-rw-r--r-- | lib/oauth2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oauth2.c b/lib/oauth2.c index 7ebe4e50..b66197ba 100644 --- a/lib/oauth2.c +++ b/lib/oauth2.c @@ -153,7 +153,7 @@ static void oauth2_access_token_done( struct http_request *req ) if( content_type && ( strstr( content_type, "application/json" ) || strstr( content_type, "text/javascript" ) ) ) { - json_value *js = json_parse( req->reply_body ); + json_value *js = json_parse( req->reply_body, req->body_size ); if( js && js->type == json_object ) { JSON_O_FOREACH( js, k, v ) |