projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1db58
)
gisi/pep: check for NULL callback
author
Aki Niemi
<aki.niemi@nokia.com>
Wed, 14 Apr 2010 12:25:00 +0000
(15:25 +0300)
committer
Aki Niemi
<aki.niemi@nokia.com>
Tue, 20 Apr 2010 11:10:33 +0000
(14:10 +0300)
gisi/pep.c
patch
|
blob
|
history
diff --git
a/gisi/pep.c
b/gisi/pep.c
index
f1fe238
..
b25cb18
100644
(file)
--- 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;
}