summaryrefslogtreecommitdiff
path: root/res/res_phoneprov.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_phoneprov.c')
-rw-r--r--res/res_phoneprov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_phoneprov.c b/res/res_phoneprov.c
index f7bcd5ab5..f5d785643 100644
--- a/res/res_phoneprov.c
+++ b/res/res_phoneprov.c
@@ -914,7 +914,7 @@ static int pp_each_user_exec(struct ast_channel *chan, const char *cmd, char *da
if (!ast_strlen_zero(args.exclude_mac) && !strcasecmp(user->macaddress, args.exclude_mac))
continue;
pbx_substitute_variables_varshead(user->headp, args.string, expand_buf, sizeof(expand_buf));
- ast_build_string(&buf, &len, expand_buf);
+ ast_build_string(&buf, &len, "%s", expand_buf);
}
AST_RWLIST_UNLOCK(&users);