Mercurial > pidgin
diff src/protocols/sametime/meanwhile/session.c @ 11291:57fccea36e36
[gaim-migrate @ 13491]
Gaim should pretty much never call g_assert. If any of these changes
are in your code, you should try to take a look at the change and
make sure Gaim won't crash after the function g_return_if_fails.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Thu, 18 Aug 2005 03:14:29 +0000 |
| parents | 3ef77720e577 |
| children | 0110fc7c6a8a |
line wrap: on
line diff
--- 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 */
