s3: Use a switch to implement map_nt_error_from_tdb
commit2111fe5255c1a76c267bbd0986a9f4566e6a68f9
authorVolker Lendecke <vl@samba.org>
Sun, 14 Mar 2010 12:49:58 +0000 (14 13:49 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 14 Mar 2010 16:42:49 +0000 (14 17:42 +0100)
treee25c743b08efcdb5eee75f16d002b5d698d91423
parent6c00a3db24808333df734dde15064d01b32dbf45
s3: Use a switch to implement map_nt_error_from_tdb

First, this immediately gave me the warning that TDB_ERR_NESTING was not
covered and second, this saved 48 bytes in the .o :-)
source3/lib/util_tdb.c