From 43f205b144412ab1186a545321b54792d92d2043 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 18 Dec 2005 02:06:11 +0100 Subject: Crashbug fix in new MSN Passport code (plus a fix to make the 005 reply actually work). --- protocols/msn/passport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') 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; -- cgit v1.2.3