1
0
Fork 0

improved detokenizer_shell module: Added default token as "x"

This commit is contained in:
bagyenda 2006-05-08 06:45:20 +00:00
parent 50fd9b03aa
commit 0f38817669
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ static Octstr *mms_detokenize(Octstr *token, Octstr *request_ip)
if (script == NULL || octstr_len(script) == 0)
return NULL;
tmp1 = octstr_duplicate(token ? token : octstr_imm(""));
tmp2 = octstr_duplicate(request_ip ? request_ip : octstr_imm(""));
tmp1 = octstr_duplicate(token ? token : octstr_imm("x"));
tmp2 = octstr_duplicate(request_ip ? request_ip : octstr_imm("x"));
escape_shell_chars(tmp1);
escape_shell_chars(tmp2);