diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-09 17:51:13 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-11 22:32:19 +0200 |
commit | 57a8792f230f2ec6db72f3b6249b702428ab5d6e (patch) | |
tree | f941a58bffeb5cb81a9e7cffb522802224b9031c /src/rand_urandom.c | |
parent | 1332a17a3db46bae7e2ee720baf21c594e1b2331 (diff) |
refactor db_get_auth_data return val
Adopt the error handling of the other db functions: return -ENOENT on unknown
subscriber and -EIO on SQL failure. Return 0 for no error, instead of the
number of rows modified.
Adjust the single caller: db_get_auc()
(and db_test.c).
Change-Id: I006f471962bdad95d00a3a4c41a28ebbc9740884
Diffstat (limited to 'src/rand_urandom.c')
0 files changed, 0 insertions, 0 deletions