diff options
| -rw-r--r-- | protocols/twitter/twitter_lib.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index 3ff4b8fc..a8cc9d04 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -780,7 +780,7 @@ static void twitter_http_stream(struct http_request *req)  		c = req->reply_body[len];  		req->reply_body[len] = '\0'; -		if (parsed) { +		if ((parsed = json_parse(req->reply_body))) {  			twitter_stream_handle_object(ic, parsed);  		}  		json_value_free(parsed); | 
