commit | f9b212fabd0d5c37dac9639fc9d9ecd73688e3a3 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Wed Mar 30 11:22:27 2016 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Thu Mar 31 11:56:29 2016 +0200 |
tree | 39b0fe83d18acdb2d643ba0f86552c425c52328d | |
parent | d617c5d3ac65b5090f787da3e2911fb6742f515c [diff] |
MM Auth: introduce AUTH_ERROR constant. Instead of using hardcoded -1 for errors, include -1 in the enum auth_action type; apply its use. In the mm_auth test, the string output changes from '(internal error)' to 'AUTH_ERROR', since now the proper enum value is used in auth_action_names[].