// - "Here, have some money."
if( strcmp(text_args[0], "give") == 0 )
{
- if( text_argc != 3 ) {
+ if( text_argc != 4 ) {
fprintf(stderr, "`dispense give` takes three arguments\n");
ShowUsage();
return -1;
switch(responseCode)
{
- case 200: return 0; // OK
+ case 200:
+ printf("Give succeeded\n");
+ return 0; // OK
case 402:
fprintf(stderr, "Insufficient balance\n");