update the handling of debug levels so that we always can use a literal instead of...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 30 Jun 2009 23:17:13 +0000 (09:17 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 30 Jun 2009 23:17:13 +0000 (09:17 +1000)
commit93026f4cbf33eae2865c94c87ba47967c4d4a92f
tree7824e3917b79c5f24fafce777e9e7d9e94488a31
parent9802a0c2f6c327b9533e2ed228b5a0ee4fb32aa8
update the handling of debug levels so that we always can use a literal instead of a numeric value.

validate the input values used and refuse setting the debug level to an unknown value

(This used to be ctdb commit daec49cea1790bcc64599959faf2159dec2c5929)
ctdb/common/cmdline.c
ctdb/common/ctdb_util.c
ctdb/include/ctdb.h
ctdb/tools/ctdb.c