mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 05:18:07 +02:00
@@ -69,8 +69,6 @@
|
|||||||
* or your program dies.
|
* or your program dies.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define ELOTTERY ECANCELED
|
|
||||||
|
|
||||||
int
|
int
|
||||||
win_lottery(void) /* are u lucky? */
|
win_lottery(void) /* are u lucky? */
|
||||||
{
|
{
|
||||||
@@ -82,7 +80,7 @@ win_lottery(void) /* are u lucky? */
|
|||||||
|
|
||||||
if (scmp(s1, s2, BUFSIZ + 2, &rval) >= 0 &&
|
if (scmp(s1, s2, BUFSIZ + 2, &rval) >= 0 &&
|
||||||
rval == 0)
|
rval == 0)
|
||||||
rval = 1; /* winner */
|
rval = 1; /* winner! */
|
||||||
else
|
else
|
||||||
rval = 0;
|
rval = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user