Changeset f9789d4 for lib/oauth2.c


Ignore:
Timestamp:
2011-12-20T16:42:17Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
68286eb
Parents:
4b53c65
Message:

NULL-checking in rfc822_get_header() and OAuth response handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth2.c

    r4b53c65 rf9789d4  
    113113        {
    114114        }
    115         else if( strstr( content_type, "application/json" ) )
     115        else if( content_type && strstr( content_type, "application/json" ) )
    116116        {
    117117                atoken = oauth2_json_dumb_get( req->reply_body, "access_token" );
Note: See TracChangeset for help on using the changeset viewer.