On Sunday, July 10, 2011 00:36:36 Antonio Quartulli wrote:
hash_add() returns 0 on success while returns -1 either on error and on entry already present. The caller could use such information to select its behaviour. For this reason it is useful that hash_add() returns -1 in case on error and returns 1 in case of entry already present.
Applied in revision fae2d08.
Thanks, Marek