aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/msn_util.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-14 20:57:13 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-14 20:57:13 +0100
commit6ddb2236943384d45cacd08e02cb4ef9ed03bba3 (patch)
tree43dd5985e21b42d691184b9f42240bca505f0374 /protocols/msn/msn_util.c
parent193dc742d357bb604fff8921417c74ddf9e8729c (diff)
Separate boilerplate and body of abservice SOAP requests since the former's
the same all the time (and I have to add some more request types).
Diffstat (limited to 'protocols/msn/msn_util.c')
-rw-r--r--protocols/msn/msn_util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/msn/msn_util.c b/protocols/msn/msn_util.c
index 54bfad7f..b7fdda28 100644
--- a/protocols/msn/msn_util.c
+++ b/protocols/msn/msn_util.c
@@ -146,6 +146,8 @@ int msn_buddy_list_add( struct im_connection *ic, msn_buddy_flags_t list, const
return msn_write( ic, buf, strlen( buf ) );
}
+
+ return 1;
}
int msn_buddy_list_remove( struct im_connection *ic, msn_buddy_flags_t list, const char *who, const char *group )
@@ -187,7 +189,7 @@ int msn_buddy_list_remove( struct im_connection *ic, msn_buddy_flags_t list, con
return msn_write( ic, buf, strlen( buf ) );
}
- return( 0 );
+ return 1;
}
struct msn_buddy_ask_data