diff --git a/gisi/pep.c b/gisi/pep.c index f1fe238e..b25cb182 100644 --- a/gisi/pep.c +++ b/gisi/pep.c @@ -66,7 +66,10 @@ static gboolean g_isi_pep_callback(GIOChannel *channel, GIOCondition cond, return TRUE; } pep->gprs_fd = fd; - pep->ready(pep, pep->opaque); + + if (pep->ready) + pep->ready(pep, pep->opaque); + return FALSE; }