aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-11-14 23:42:07 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2007-11-14 23:42:07 +0000
commitebb95b68792dde490a1ea1042209525f176af58d (patch)
tree2a980be2b7bea3db77dec209e6ca5f591165885b /protocols/nogaim.c
parenta6df0b5d21370549328c7929a008abb68f2ed4db (diff)
parent1bf1ae6f25ff56894d67999791802aa864eaa02b (diff)
Merging from devel/Jelmer.
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 3307b0f5..d1aceb1a 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -35,7 +35,7 @@
#include "nogaim.h"
#include <ctype.h>
-static int remove_chat_buddy_silent( struct groupchat *b, char *handle );
+static int remove_chat_buddy_silent( struct groupchat *b, const char *handle );
GSList *connections;
@@ -577,7 +577,7 @@ void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags,
/* Remove him/her from the groupchats to prevent PART messages after he/she QUIT already */
for( c = ic->groupchats; c; c = c->next )
- remove_chat_buddy_silent( c, (char*) handle );
+ remove_chat_buddy_silent( c, handle );
}
if( flags & OPT_AWAY )
@@ -848,7 +848,7 @@ void imcb_chat_remove_buddy( struct groupchat *b, char *handle, char *reason )
irc_part( b->ic->irc, u, b->channel );
}
-static int remove_chat_buddy_silent( struct groupchat *b, char *handle )
+static int remove_chat_buddy_silent( struct groupchat *b, const char *handle )
{
GList *i;