Fixing bugs and slight cleanup
authorJohn Hodge <[email protected]>
Mon, 21 Mar 2011 00:33:26 +0000 (08:33 +0800)
committerJohn Hodge <[email protected]>
Mon, 21 Mar 2011 00:33:26 +0000 (08:33 +0800)
commit399c1a3a2a1eb9c81ec0f7bdfb1512bdd2e41c6a
tree3580f29cd85ab7cc6bbd2c489d9fa71500362368
parent1b1b4f396d34f08e2e2932e7a69229dcc51a1da2
Fixing bugs and slight cleanup

- Fixed issue with the USER_FLAGS and USER_ADD not checking authentication
 > They were relying on Bank_GetFlags, which returns -1 on error
- Changed 'donate' to its own destination account
- Updated client's --help output to show help for the current command
 > E.g. `dispense user --help` will give help for th euser family of commands
src/client/main.c
src/cokebank.h
src/server/dispense.c
src/server/server.c

UCC git Repository :: git.ucc.asn.au