diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-09 17:51:13 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-10 23:43:52 +0200 |
commit | 5e661d05b4f760ebb2c867a578af48f3db998243 (patch) | |
tree | f47246bc4584e7ecfe9ed85ff18216c34bcb11a8 /sql | |
parent | a085519047f1e140084a00954cf3b6986b7ebae0 (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 'sql')
0 files changed, 0 insertions, 0 deletions