Error return is False, not -1
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 24 Oct 2008 14:26:56 +0000 (10:26 -0400)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 24 Oct 2008 14:31:31 +0000 (10:31 -0400)
commit2a76f4d8c832155253be971975b0ac50649c7515
treefea2c822698e63a77f8527aaa1721e3eef055166
parentf7692d16e3dc5e580364852c709c6c4a371dd32e
Error return is False, not -1

- There were a few places in SMBC_getatr() that returned -1 instead of a
  boolean.  -1 was intended to mean error, but that's what False is for, and
  the usages of this function assume that it returns a boolean with False as
  the error condition.

Derrell
source3/libsmb/libsmb_file.c