diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-03-31 18:47:30 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-03-31 18:47:30 -0500 |
commit | cc1bb46ffadaf41e3c501cc03eeabb9c1ba5ee08 (patch) | |
tree | 4658747bc7aa9037f7599d8450c00a4e7705a880 /gatchat/ppp.c | |
parent | d6093b819fd31be14becc6dfcaeb30001eb88bc1 (diff) | |
download | ofono-cc1bb46ffadaf41e3c501cc03eeabb9c1ba5ee08.tar.bz2 |
Refactor: Use GAtDisconnectFunc for ppp disconnect
The ppp argument to the current disconnect callback is useless as the
ppp structure is most likely stored in user data anyway.
Diffstat (limited to 'gatchat/ppp.c')
-rw-r--r-- | gatchat/ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/ppp.c b/gatchat/ppp.c index 7755791c..99af49a3 100644 --- a/gatchat/ppp.c +++ b/gatchat/ppp.c @@ -383,7 +383,7 @@ static void ppp_dead(GAtPPP *ppp) { /* notify interested parties */ if (ppp->disconnect_cb) - ppp->disconnect_cb(ppp, ppp->disconnect_data); + ppp->disconnect_cb(ppp->disconnect_data); if (g_atomic_int_get(&ppp->ref_count)) return; |