aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/ns.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-10 22:35:08 +0100
committerJelmer Vernooij <jelmer@samba.org>2006-01-10 22:35:08 +0100
commit8e419cb4f86679636b2d96618e1bec4853636c11 (patch)
treeb7514f0bd06ce2a1f5290c53552c692698091d2b /protocols/msn/ns.c
parent3e91c3ec7d6426c4c2819e78275f935e1a7fce2c (diff)
parentdd8d4c5243eea91dd3b0709ae76abdd3743e99bc (diff)
Merge Wilmer
Diffstat (limited to 'protocols/msn/ns.c')
-rw-r--r--protocols/msn/ns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c
index f1bda1a4..4ced58a0 100644
--- a/protocols/msn/ns.c
+++ b/protocols/msn/ns.c
@@ -207,7 +207,7 @@ static int msn_ns_command( gpointer data, char **cmd, int num_parts )
if( num_parts == 5 && strcmp( cmd[2], "TWN" ) == 0 && strcmp( cmd[3], "S" ) == 0 )
{
/* Time for some Passport black magic... */
- if( !passport_get_id( gc, gc->username, gc->password, cmd[4], msn_auth_got_passport_id ) )
+ if( !passport_get_id( msn_auth_got_passport_id, gc, gc->username, gc->password, cmd[4] ) )
{
hide_login_progress_error( gc, "Error while contacting Passport server" );
signoff( gc );
@@ -364,7 +364,7 @@ static int msn_ns_command( gpointer data, char **cmd, int num_parts )
}
else if( strcmp( cmd[0], "ILN" ) == 0 )
{
- struct msn_away_state *st;
+ const struct msn_away_state *st;
if( num_parts != 6 )
{
@@ -392,7 +392,7 @@ static int msn_ns_command( gpointer data, char **cmd, int num_parts )
}
else if( strcmp( cmd[0], "NLN" ) == 0 )
{
- struct msn_away_state *st;
+ const struct msn_away_state *st;
if( num_parts != 5 )
{
@@ -538,7 +538,7 @@ static int msn_ns_command( gpointer data, char **cmd, int num_parts )
else if( isdigit( cmd[0][0] ) )
{
int num = atoi( cmd[0] );
- struct msn_status_code *err = msn_status_by_number( num );
+ const struct msn_status_code *err = msn_status_by_number( num );
g_snprintf( buf, sizeof( buf ), "Error reported by MSN server: %s", err->text );
do_error_dialog( gc, buf, "MSN" );