aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsup_server.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-09 17:51:13 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-10-11 22:32:19 +0200
commit57a8792f230f2ec6db72f3b6249b702428ab5d6e (patch)
treef941a58bffeb5cb81a9e7cffb522802224b9031c /src/gsup_server.h
parent1332a17a3db46bae7e2ee720baf21c594e1b2331 (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/gsup_server.h')
0 files changed, 0 insertions, 0 deletions