Skip to content

Commit

Permalink
Correcting invalid assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
sg777 committed Nov 4, 2021
1 parent e5ce0e7 commit f6e299e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privatebet/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ int32_t bet_client_turn(cJSON *argjson, struct privatebet_info *bet, struct priv

if (playerid == bet->myplayerid) {
no_of_shares = 1;
if (retval = bet_get_own_share(argjson, bet, vars) != OK)
if ((retval = bet_get_own_share(argjson, bet, vars)) != OK)
return retval;

for (int i = 0; i < bet->numplayers; i++) {
Expand Down

0 comments on commit f6e299e

Please sign in to comment.