aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_smdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_smdi.c')
-rw-r--r--res/res_smdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c
index 83a5e1f7c..406a740c9 100644
--- a/res/res_smdi.c
+++ b/res/res_smdi.c
@@ -1265,7 +1265,7 @@ static int smdi_msg_read(struct ast_channel *chan, char *cmd, char *data, char *
return_error:
ast_module_user_remove(u);
- return 0;
+ return res;
}
static struct ast_custom_function smdi_msg_retrieve_function = {