diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-18 02:06:11 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-18 02:06:11 +0100 |
commit | 43f205b144412ab1186a545321b54792d92d2043 (patch) | |
tree | 882c9f1a4d6a036e84e050fcf6e34fe1e90ebb1b /protocols | |
parent | a03a9f376fe2fd1737ba7af6a87d99fe43a2a72e (diff) |
Crashbug fix in new MSN Passport code (plus a fix to make the 005 reply actually work).
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/msn/passport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/msn/passport.c b/protocols/msn/passport.c index e04d14cb..34703432 100644 --- a/protocols/msn/passport.c +++ b/protocols/msn/passport.c @@ -87,7 +87,7 @@ static void passport_get_id_ready( struct http_request *req ) { struct passport_reply *rep = req->data; - if( !g_slist_find( msn_connections, rep->data ) ) + if( !g_slist_find( msn_connections, rep->data ) || !req->finished || !req->reply_headers ) { destroy_reply( rep ); return; @@ -168,7 +168,7 @@ static void passport_retrieve_dalogin_ready( struct http_request *req ) char *dalogin; char *urlend; - if( !g_slist_find( msn_connections, rep->data ) ) + if( !g_slist_find( msn_connections, rep->data ) || !req->finished || !req->reply_headers ) { destroy_reply( rep ); return; |