diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-27 00:44:48 +0200 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-27 00:44:48 +0200 | 
| commit | a2582c84bda1ed8940c75bd842f9296cef3f50d4 (patch) | |
| tree | 1313b5221c668add566d2dd0ef661af9bb84bb16 /protocols/msn/ns.c | |
| parent | fe237200e4b3921e190d13693402e14d63fe2fa4 (diff) | |
Added error_string variable to Passport client.
Diffstat (limited to 'protocols/msn/ns.c')
| -rw-r--r-- | protocols/msn/ns.c | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index 90d525ef..523de0ae 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -649,8 +649,15 @@ static void msn_auth_got_passport_id( struct passport_reply *rep )  	if( key == NULL )  	{ -		hide_login_progress( gc, "Error during Passport authentication" ); +		char *err; +		 +		err = g_strdup_printf( "Error during Passport authentication (%s)", +		                       rep->error_string ? rep->error_string : "Unknown error" ); +		 +		hide_login_progress( gc, err );  		signoff( gc ); +		 +		g_free( err );  	}  	else  	{ | 
