Ticket 47750 - Entry cache part 2
Description: One line fix in the previous patch.
entrycache_add_int is supposed to return 1 instead of -1 for the
"entry already exists in cache" case.
(cherry picked from commit 189eb8a0b6cf876e6bc39d0cb8cb4c08b29c9ce1)