...
|
...
|
@@ -216,7 +216,7 @@ static int generate_avps(db_res_t* result, db_rec_t *row)
|
216
|
216
|
/* this is a dirty work around to check the credentials of all users,
|
217
|
217
|
* if the database query returned more then one result
|
218
|
218
|
*
|
219
|
|
- * Fills res (which must be db_free'd afterwards if the call was succesfull)
|
|
219
|
+ * Fills res (which must be db_free'd afterwards if the call was successful)
|
220
|
220
|
* returns 0 on success, 1 on no match (?)
|
221
|
221
|
* and -1 on error (memory, db a.s.o).
|
222
|
222
|
* WARNING: if -1 is returned res _must_ _not_ be freed (it's empty)
|