X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Frrsolve.c;fp=src%2Frrsolve.c;h=89325b7b2f9afb8afd50ed42db39a53912d9a10e;hb=bd8da1e424801d02a88e2e6b76985f33c336b887;hp=99119ac9f109c8bb28ae528b137b7ba7b6cb2d1f;hpb=a8d0f6f3b644661e9174b43353644904bc52c3d7;p=rrsolve diff --git a/src/rrsolve.c b/src/rrsolve.c index 99119ac..89325b7 100644 --- a/src/rrsolve.c +++ b/src/rrsolve.c @@ -184,6 +184,10 @@ handle_events (rr_client_t *client) rr_status_str (status)); return; } + if (!notice) { + fprintf (stderr, "No notice during rr_client_next_notice\n"); + continue; + } switch (notice->type) { case RR_NOTICE_GAMEOVER: