Hi, list, what was the purpose for the code in mmsc/mms_billing_shell.c::mms_billmsg():
for (i=0;i<list_len(to);i++) { Octstr *s; s = octstr_format("%s '%s' '%s'", octstr_get_cstr(script), octstr_get_cstr(from), octstr_get_cstr(list_get(to, i))); if (s) { system(octstr_get_cstr(s)); octstr_destroy(s); } } ? As you can see return value from the script currently is ignored so we should reconsider this and either pass all the recipients in one pass or check if WEXITSTATUS(system(octstr_get_cstr(s))) is always possitive for each of the recipients. -- Dziugas _______________________________________________ Devel mailing list Devel@mbuni.org http://mbuni.org/mailman/listinfo/devel_mbuni.org