minor fix to shell-based resolver
This commit is contained in:
parent
2a25a4cd3e
commit
dde519afc2
|
@ -37,7 +37,7 @@ static Octstr *mms_resolve(Octstr * phonenum, void *module_data, void *settings_
|
|||
if (script == NULL || octstr_len(script) == 0)
|
||||
return 0;
|
||||
|
||||
s = octstr_format("%s '%s' ", octstr_get_cstr(phonenum));
|
||||
s = octstr_format("%s '%s' ", octstr_get_cstr(script), octstr_get_cstr(phonenum));
|
||||
fp = popen(octstr_get_cstr(s), "r");
|
||||
octstr_destroy(s);
|
||||
|
||||
|
|
Loading…
Reference in New Issue