--- a/libpurple/protocols/mxit/voicevideo.c Mon Aug 22 02:07:41 2011 +0000 +++ b/libpurple/protocols/mxit/voicevideo.c Mon Aug 22 02:11:36 2011 +0000 @@ -71,7 +71,7 @@ purple_debug_info(MXIT_PLUGIN_ID, "mxit_media_caps: buddy '%s'\n", who); /* We need to have a voice/video server */ - if (strlen(session->voip_server) == 0) + if (!*session->voip_server) return PURPLE_MEDIA_CAPS_NONE; /* find the buddy information for this contact (reference: "libpurple/blist.h") */