Mercurial > pidgin.yaz
diff libpurple/prpl.h @ 18340:e356256cb8a6
purple_imgstore_add() has checks which can lead it to return NULL (which should be NULL, not 0); purple_imgstore_add_with_id() should therefore allow for the possibility that the returned value is NULL and check it before using it. An id of 0 is returned if the function fails.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Fri, 29 Jun 2007 15:00:50 +0000 |
parents | 72906c5ac037 |
children | 5c1ed6296b56 0f46f13c0805 f12bf92d64ec |