Changeset db28304 for protocols/msn


Ignore:
Timestamp:
2006-05-26T22:49:28Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
42616d1
Parents:
a2582c8
Message:

Using http_dorequest_url() at one place in passport.c now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/passport.c

    ra2582c8 rdb28304  
    153153}
    154154
    155 #define PPR_REQUEST "GET /rdr/pprdr.asp HTTP/1.0\r\n\r\n"
    156155static int passport_retrieve_dalogin( gpointer func, gpointer data, char *header )
    157156{
     
    163162        rep->header = header;
    164163       
    165         req = http_dorequest( "nexus.passport.com", 443, 1, PPR_REQUEST, passport_retrieve_dalogin_ready, rep );
     164        req = http_dorequest_url( "https://nexus.passport.com/rdr/pprdr.asp", passport_retrieve_dalogin_ready, rep );
    166165       
    167166        if( !req )
     
    185184        if( !req->finished || !req->reply_headers || req->status_code != 200 )
    186185        {
    187                 rep->error_string = g_strdup_printf( "HTTP error while fetching DALogin (%s)",
     186                rep->error_string = g_strdup_printf( "HTTP error while fetching DALogin: %s",
    188187                                        req->status_string ? req->status_string : "Unknown error" );
    189188                goto failure;
Note: See TracChangeset for help on using the changeset viewer.