*** empty log message ***
This commit is contained in:
parent
445723dc0f
commit
4a2ad20874
|
@ -78,7 +78,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
gwthread_join(r_thread);
|
gwthread_join(r_thread);
|
||||||
|
|
||||||
sleep(2); /* Wait for them to die. */
|
gwthread_sleep(2); /* Wait for them to die. */
|
||||||
mms_info(0, "mmsc", NULL, "Final cleanup...");
|
mms_info(0, "mmsc", NULL, "Final cleanup...");
|
||||||
mms_cleanup_mmsc_settings(settings); /* Stop settings stuff and so on. */
|
mms_cleanup_mmsc_settings(settings); /* Stop settings stuff and so on. */
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* This program is free software, distributed under the terms of
|
* This program is free software, distributed under the terms of
|
||||||
* the GNU General Public License, with a few exceptions granted (see LICENSE)
|
* the GNU General Public License, with a few exceptions granted (see LICENSE)
|
||||||
*/
|
*/
|
||||||
|
#include <unistd.h>
|
||||||
#include "mmsc.h"
|
#include "mmsc.h"
|
||||||
|
|
||||||
#define NMAX 256
|
#define NMAX 256
|
||||||
|
@ -487,7 +487,7 @@ void mbuni_global_queue_runner(int *rstop)
|
||||||
|
|
||||||
if (cdr_thid >= 0)
|
if (cdr_thid >= 0)
|
||||||
gwthread_join(cdr_thid);
|
gwthread_join(cdr_thid);
|
||||||
sleep(2);
|
gwthread_sleep(2);
|
||||||
gwlist_destroy(cdr_list, NULL);
|
gwlist_destroy(cdr_list, NULL);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
*/
|
*/
|
||||||
#include "mmsc.h"
|
#include "mmsc.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
||||||
#define WAPPUSH_PORT 2948
|
#define WAPPUSH_PORT 2948
|
||||||
|
@ -490,9 +491,9 @@ void mbuni_mm1_queue_runner(int *rstop)
|
||||||
|
|
||||||
settings->qfs->mms_queue_run(octstr_get_cstr(settings->mm1_queuedir),
|
settings->qfs->mms_queue_run(octstr_get_cstr(settings->mm1_queuedir),
|
||||||
sendNotify, settings->queue_interval, settings->maxthreads, rstop);
|
sendNotify, settings->queue_interval, settings->maxthreads, rstop);
|
||||||
sleep(2); /* Wait for it to die. */
|
gwthread_sleep(2); /* Wait for it to die. */
|
||||||
http_caller_signal_shutdown(httpcaller);
|
http_caller_signal_shutdown(httpcaller);
|
||||||
sleep(2);
|
gwthread_sleep(2);
|
||||||
http_caller_destroy(httpcaller);
|
http_caller_destroy(httpcaller);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue