From daae10fbfe16bac26f74af91faf253d377f1b166 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 7 Aug 2010 17:33:02 +0100 Subject: OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen with some changes. --- protocols/nogaim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/nogaim.c') diff --git a/protocols/nogaim.c b/protocols/nogaim.c index c14b222d..7943e026 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -467,7 +467,7 @@ void imcb_ask_auth( struct im_connection *ic, const char *handle, const char *re realname_ = g_strdup_printf( " (%s)", realname ); s = g_strdup_printf( "The user %s%s wants to add you to his/her buddy list.", - handle, realname_ ?: "" ); + handle, realname_ ? realname_ : "" ); g_free( realname_ ); @@ -490,7 +490,7 @@ static void imcb_ask_add_cb_yes( void *data ) cbd->ic->acc->prpl->add_buddy( cbd->ic, cbd->handle, NULL ); - return imcb_ask_add_cb_no( data ); + imcb_ask_add_cb_no( data ); } void imcb_ask_add( struct im_connection *ic, const char *handle, const char *realname ) -- cgit v1.2.3