--- src/jabber_whiteboard/session-manager.cpp +++ src/jabber_whiteboard/session-manager.cpp @@ -590,7 +590,7 @@ GError* error = NULL; char* type, * seq; - if (recipientJID == NULL || recipientJID == "") { + if (recipientJID == NULL || !strlen(recipientJID) ) { g_warning("Null recipient JID specified; not sending message."); return NO_RECIPIENT_JID; } else {