commit 57118884ad541bd9d585785d7723508aecd21db9 parent a89a75855926ca1fe0fc079528e015dd505062d6 Author: vaplv <vaplv@free.fr> Date: Wed, 28 Nov 2018 21:37:13 +0100 Fix return code in the hash_table_set function Diffstat:
| M | src/hash_table.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hash_table.h b/src/hash_table.h @@ -446,7 +446,7 @@ HTABLE_FUNC__(set) } } } - return RES_OK; + return res; } /* Return the number of erased elements, i.e. 0 or 1 */