Mercurial > ~mikael > mcabber > hg
diff mcabber/src/events.c @ 1213:4a7db2870685
Improve Private Storage detection.
MCabber now correctly detects Private Storage support when receiving an
item-not-found error (which doesn't mean the server has no support for P.S.,
but that it's empty).
I've added a return value to the callback functions. For now the return value
is only used for IQ error handling.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 01 May 2007 18:16:11 +0200 |
parents | 2de8f8ba1f34 |
children | 366ef500c522 |
line wrap: on
line diff
--- a/mcabber/src/events.c Tue May 01 16:33:26 2007 +0200 +++ b/mcabber/src/events.c Tue May 01 18:16:11 2007 +0200 @@ -110,7 +110,7 @@ // IQ processing // Note: If xml_result is NULL, this is a timeout if (i->callback) - (*i->callback)(i, evcontext); + (void)(*i->callback)(i, evcontext); evs_del(evid); return 0;