summaryrefslogtreecommitdiff
path: root/src/common/db.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-03-22 17:07:13 -0300
committershennetsind <ind@henn.et>2014-03-22 17:07:13 -0300
commit2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4 (patch)
treee8d15f8f4a252cda88f3e3173f366ff9881edc4c /src/common/db.c
parent9ea7b143192568a259aa6e7e223420e8d5762b9e (diff)
parentd097f2c4b4a31885c6b04f5868563e1f48414192 (diff)
downloadhercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.tar.gz
hercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.tar.bz2
hercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.tar.xz
hercules-2b4d6abbc5baddc2207e73f0b84c7e6c73e271a4.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/common/db.c')
-rw-r--r--src/common/db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/db.c b/src/common/db.c
index 8c15c0feb..8d6b08815 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -1846,6 +1846,8 @@ static DBData* db_obj_ensure(DBMap* self, DBKey key, DBCreateData create, ...)
* @protected
* @see #db_malloc_dbn(void)
* @see DBMap#put
+ * FIXME: If this method fails shouldn't it return another value?
+ * Other functions rely on this to know if they were able to put something [Panikon]
*/
static int db_obj_put(DBMap* self, DBKey key, DBData data, DBData *out_data)
{