diff options
Diffstat (limited to 'res/res_smdi.c')
-rw-r--r-- | res/res_smdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c index c0c7f8927..a4d8494f6 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -678,7 +678,7 @@ static int smdi_load(int reload) /* start the listner thread */ if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Starting SMDI monitor thread for %s\n", iface->name); - if (ast_pthread_create(&iface->thread, NULL, smdi_read, iface)) { + if (ast_pthread_create_background(&iface->thread, NULL, smdi_read, iface)) { ast_log(LOG_ERROR, "Error starting SMDI monitor thread for %s\n", iface->name); ASTOBJ_UNREF(iface, ast_smdi_interface_destroy); continue; |