Error return is False, not -1
commit89e22a2c969ab7a38016d4a145feb061fa6ae108
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 24 Oct 2008 15:19:12 +0000 (24 11:19 -0400)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 24 Oct 2008 15:19:12 +0000 (24 11:19 -0400)
tree710b9c54f4fc78fe0d2c83f42040d9d3fc6142d2
parent93eca985258a1ee56627704d448a4c0c40d2ec50
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.

- per Jelmer's request, use false vs. False in new code, even if not making
  changes globally.

Derrell
source/libsmb/libsmb_file.c