diff options
Diffstat (limited to 'res/res_jabber.c')
-rw-r--r-- | res/res_jabber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index d9b76c630..07a61b5ef 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -2366,7 +2366,7 @@ static int aji_reload() ASTOBJ_RDLOCK(iterator); if(iterator->state == AJI_DISCONNECTED) { if (!iterator->thread) - ast_pthread_create(&iterator->thread, NULL, aji_recv_loop, iterator); + ast_pthread_create_background(&iterator->thread, NULL, aji_recv_loop, iterator); } else if (iterator->state == AJI_CONNECTING) aji_get_roster(iterator); ASTOBJ_UNLOCK(iterator); |