1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2008-09-22 10:18:19 +00:00
parent 445723dc0f
commit 4a2ad20874
3 changed files with 6 additions and 5 deletions

View File

@ -78,7 +78,7 @@ int main(int argc, char *argv[])
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_cleanup_mmsc_settings(settings); /* Stop settings stuff and so on. */

View File

@ -10,7 +10,7 @@
* This program is free software, distributed under the terms of
* the GNU General Public License, with a few exceptions granted (see LICENSE)
*/
#include <unistd.h>
#include "mmsc.h"
#define NMAX 256
@ -487,7 +487,7 @@ void mbuni_global_queue_runner(int *rstop)
if (cdr_thid >= 0)
gwthread_join(cdr_thid);
sleep(2);
gwthread_sleep(2);
gwlist_destroy(cdr_list, NULL);
return;

View File

@ -13,6 +13,7 @@
*/
#include "mmsc.h"
#include <errno.h>
#include <unistd.h>
#include <strings.h>
#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),
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);
sleep(2);
gwthread_sleep(2);
http_caller_destroy(httpcaller);
return;
}