Changeset 5246133 for lib


Ignore:
Timestamp:
2012-11-09T00:23:44Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5d749ad
Parents:
fb351ce
Message:

Updated error response parsing. Also, use this for 401 responses so for example
the auth errors caused by NTP desync are clearer:

<root> twitter - Login error: Authentication failure (401 Unauthorized

(Timestamp out of bounds))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/json_util.c

    rfb351ce r5246133  
    3131        int i;
    3232       
    33         if( obj->type != json_object )
     33        if( !obj || obj->type != json_object )
    3434                return NULL;
    3535
Note: See TracChangeset for help on using the changeset viewer.