diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-07-29 09:58:52 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-07-29 12:26:05 -0500 |
commit | 18ecb22f93d07594a104c1e7923b284e8e7a7a80 (patch) | |
tree | e2525df8eda24bb95e1c7562455f3bfee3f6a2e9 /src | |
parent | 00fb6cce6285d02b32ae17d02e984c511a810c14 (diff) | |
download | ofono-18ecb22f93d07594a104c1e7923b284e8e7a7a80.tar.bz2 |
Fix segfault
Diffstat (limited to 'src')
-rw-r--r-- | src/sms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -294,7 +294,7 @@ static void tx_finished(const struct ofono_error *error, int mr, void *data) if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { ofono_debug("Sending failed, retrying in 5 seconds..."); - g_timeout_add_seconds(5, tx_next, data); + g_timeout_add_seconds(5, tx_next, modem); return; } @@ -305,7 +305,7 @@ static void tx_finished(const struct ofono_error *error, int mr, void *data) if (g_queue_peek_head(sms->txq)) { ofono_debug("Scheduling next"); - g_timeout_add(0, tx_next, sms); + g_timeout_add(0, tx_next, modem); } } |