--- a/src/protocols/sametime/meanwhile/session.c Thu Aug 18 01:35:14 2005 +0000 +++ b/src/protocols/sametime/meanwhile/session.c Thu Aug 18 03:14:29 2005 +0000 @@ -548,7 +548,7 @@ struct mwGetBuffer *b; struct mwMessage *msg; - g_assert(s != NULL); + g_return_if_fail(s != NULL); g_return_if_fail(buf != NULL); /* ignore zero-length messages */