comparison 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
comparison
equal deleted inserted replaced
1212:3b21353e4ad3 1213:4a7db2870685
108 if (!i) return -1; 108 if (!i) return -1;
109 109
110 // IQ processing 110 // IQ processing
111 // Note: If xml_result is NULL, this is a timeout 111 // Note: If xml_result is NULL, this is a timeout
112 if (i->callback) 112 if (i->callback)
113 (*i->callback)(i, evcontext); 113 (void)(*i->callback)(i, evcontext);
114 114
115 evs_del(evid); 115 evs_del(evid);
116 return 0; 116 return 0;
117 } 117 }
118 118