git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleaning up client code and server responses
[tpg/opendispense2.git]
/
src
/
server
/
handler_snack.c
diff --git
a/src/server/handler_snack.c
b/src/server/handler_snack.c
index
826851e
..
50a0d53
100644
(file)
--- a/
src/server/handler_snack.c
+++ b/
src/server/handler_snack.c
@@
-47,7
+47,9
@@
int Snack_CanDispense(int User, int Item)
// Sanity please
if( Item < 0 || Item > 99 ) return -1;
- return 1;
+ // Hmm... could we implement slot statuses?
+
+ return 0;
}
/**
@@
-71,5
+73,3
@@
int Snack_DoDispense(int User, int Item)
return 0;
}
-
-
UCC
git Repository :: git.ucc.asn.au