Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
Fix query_acct() function
Switch log value from user pin to user total balance
  • Loading branch information
Andre Gardiner committed Apr 2, 2014
1 parent 217cf7f commit a70b587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ void query_acct(ulist header,hlist headerh,int login, int pin,atm cash)
printf("\t\t \n");
printf("\t\t -------------------------------------- \n");

create_log(headerh,7,login,pin);
create_log(headerh,7,login,l->sum);
option1(header,headerh,login,pin,cash);

}
Expand Down

0 comments on commit a70b587

Please sign in to comment.