summaryrefslogtreecommitdiffstats
path: root/gisi/pep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gisi/pep.c')
-rw-r--r--gisi/pep.c5
1 files changed, 4 insertions, 1 deletions
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;
}