1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2009-01-20 20:33:54 +00:00
parent 7d69e70dc3
commit e402334756
4 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,5 @@
2009-01-21 P. A. Bagyenda <bagyenda@dsmagic.com>
* Minor fix in mmsc: fetch URL
2009-01-17 P. A. Bagyenda <bagyenda@dsmagic.com>
* Improved mmsc logging
* mmsc tools other than mmsc no longer attempt to open admin port

View File

@ -759,6 +759,7 @@ int main(int argc, char *argv[])
signal(SIGHUP, relog_now);
signal(SIGTERM, quit_now);
signal(SIGINT, quit_now);
signal(SIGPIPE,SIG_IGN); /* Ignore pipe errors. They kill us sometimes for nothing*/
/* Start sendmms port */

View File

@ -63,7 +63,8 @@ int main(int argc, char *argv[])
signal(SIGHUP, relog_now);
signal(SIGTERM, quit_now);
signal(SIGPIPE,SIG_IGN); /* Ignore pipe errors. They kill us sometimes for nothing*/
signal(SIGINT, quit_now);
signal(SIGPIPE,SIG_IGN); /* Ignore pipe errors. They kill us sometimes for no reason*/
if ((r_thread = gwthread_create((gwthread_func_t *)mmsrelay, NULL)) < 0)

View File

@ -583,7 +583,8 @@ Octstr *mms_makefetchurl(char *qf, Octstr *token, int loc,
MmsDetokenizerFuncStruct *tfs = settings->mms_detokenizefuncs;
if (host_alias && octstr_len(host_alias) > 0)
if (host_alias && octstr_len(host_alias) > 0 &&
octstr_compare(host_alias, settings->hostname) != 0)
hstr = octstr_duplicate(host_alias);
else
hstr = octstr_format("%S:%d",