Looks like this should be initialized to 1. As the first if statement
authorRick Bird <nveid@bender.theari.com>
Mon, 25 Apr 2011 17:57:52 +0000 (13:57 -0400)
committerRick Bird <nveid@bender.theari.com>
Mon, 25 Apr 2011 17:57:52 +0000 (13:57 -0400)
commit6765d8bd3c669d534350b8e24a98bd587d3e0ec1
treed750a8d5cec72723eff9cc79fbbf0528cdccbf1a
parent6de0689c83578e40e30fda58fe489c44fbc4101a
Looks like this should be initialized to 1. As the first if statement
that changes the item sets it to 0 if no arg2 exists(which makes sense).
Normal command operation is @atrlock obj=lock, or @atrlock obj.
Thus no arg2 would be unlocking, and with arg2 would be a lock
operation.

IssueID #246
src/attrib.c