diff options
Diffstat (limited to 'src/userdb.c')
| -rw-r--r-- | src/userdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/userdb.c b/src/userdb.c index abcdb51..2d7702c 100644 --- a/src/userdb.c +++ b/src/userdb.c @@ -108,8 +108,7 @@ bool userdb_remove(const char *key) return false; } -/* should never fail, but could return NULL if something really weird - * happens */ +/* returns NULL on success */ struct userdata_t *userdb_add(struct userdata_t *data) { struct userdata_t *new = calloc(1, sizeof(*new)); /* only in C! */ |