diff options
author | Tim Potter <tpot@samba.org> | 2003-02-14 05:07:05 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-14 05:07:05 +0000 |
commit | 3b23695db621bdbcb84e5271d593e88ecae12901 (patch) | |
tree | f987fd972122444be31136601c051d27edd7e515 /source3/libsmb/trustdom_cache.c | |
parent | afb9105c3de7fc42ab12f7545268161c5849ba16 (diff) | |
download | samba-3b23695db621bdbcb84e5271d593e88ecae12901.tar.gz samba-3b23695db621bdbcb84e5271d593e88ecae12901.tar.bz2 samba-3b23695db621bdbcb84e5271d593e88ecae12901.zip |
Simplify some return values in gencache functions:
- return ret == 0 ? True : False;
+ return ret == 0;
and
- return tdb_close(cache) ? False : True;
+ return tdb_close(cache) != -1;
(This used to be commit 026b988b132ec76fdd3821639960658e1d36cd43)
Diffstat (limited to 'source3/libsmb/trustdom_cache.c')
0 files changed, 0 insertions, 0 deletions