aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-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 6a5cf1aa5..56a32e8f1 100644
--- a/res/res_smdi.c
+++ b/res/res_smdi.c
@@ -1260,7 +1260,7 @@ static int smdi_msg_read(struct ast_channel *chan, const char *cmd, char *data,
return_error:
ast_module_user_remove(u);
- return 0;
+ return res;
}
static struct ast_custom_function smdi_msg_retrieve_function = {