Skip to content

Commit a70b587

Browse files
author
Andre Gardiner
committed
Update main.c
Fix query_acct() function Switch log value from user pin to user total balance
1 parent 217cf7f commit a70b587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ void query_acct(ulist header,hlist headerh,int login, int pin,atm cash)
961961
printf("\t\t \n");
962962
printf("\t\t -------------------------------------- \n");
963963

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

967967
}

0 commit comments

Comments
 (0)