commit | 57a8792f230f2ec6db72f3b6249b702428ab5d6e | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Mon Oct 09 17:51:13 2017 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Wed Oct 11 22:32:19 2017 +0200 |
tree | f941a58bffeb5cb81a9e7cffb522802224b9031c | |
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