diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-12-25 01:08:33 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-12-25 01:08:33 +0100 | 
| commit | 14d0b021045b5d92939a795fc244f0b12a66726a (patch) | |
| tree | 6e95d4a8534ec7ccc7be4eda5249d478867f7e1c /protocols | |
| parent | c1d9c952063904cc492d9538bdd8b75b20c41cd7 (diff) | |
I suck. This will teach me not to combine logging and actual work in silly
ways.
Diffstat (limited to 'protocols')
| -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); | 
