Permalink
Browse files

One less loop iteration.

  • Loading branch information...
Cizzle committed Nov 6, 2017
1 parent 2190b8c commit 516482400392b8c708f8058754795a6993284eed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mod/share.mod/share.c
@@ -1374,7 +1374,7 @@ static void sharein_mod(int idx, char *msg)
if (!y)
/* Found a match */
(C_share[i].func) (idx, msg);
if (y < 0)
if (y <= 0)
f = 1;
}
}

0 comments on commit 5164824

Please sign in to comment.