aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-09 17:51:13 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-10-10 23:43:52 +0200
commit5e661d05b4f760ebb2c867a578af48f3db998243 (patch)
treef47246bc4584e7ecfe9ed85ff18216c34bcb11a8 /doc/examples
parenta085519047f1e140084a00954cf3b6986b7ebae0 (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 'doc/examples')
0 files changed, 0 insertions, 0 deletions