comparison finch/gntft.c @ 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 16f3919b78f5
children 2d4df5ef0090
comparison
equal deleted inserted replaced
18339:b4f5a2c0f00a 18340:e356256cb8a6