summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-04-22 12:34:12 +0200
committerMartin Kosek <mkosek@redhat.com>2014-04-23 13:18:41 +0200
commit5e5d4818a1d9a4422b28f445fbac2e1daa513e82 (patch)
tree6f13800e0d2e7477377c17c4862014c168f27100 /ipapython
parent91d68864d1b59cfc30fa68303f2f664d2e2368bf (diff)
downloadfreeipa-5e5d4818a1d9a4422b28f445fbac2e1daa513e82.tar.gz
freeipa-5e5d4818a1d9a4422b28f445fbac2e1daa513e82.tar.xz
freeipa-5e5d4818a1d9a4422b28f445fbac2e1daa513e82.zip
ipa_range_check: Change range_check return values from int to range_check_result_t enum
Using integers for return values that are used for complex casing can be fragile and typo-prone. Change range_check function to return range_check_result_t enum, whose values properly describes each of the range_check results. Part of: https://fedorahosted.org/freeipa/ticket/4137 Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions