1
0
Fork 0

Minor code fixes.

This commit is contained in:
bagyenda 2005-04-15 05:14:05 +00:00
parent 734ef4946d
commit 857b08c16b
3 changed files with 2 additions and 11 deletions

View File

@ -10,16 +10,8 @@
* This program is free software, distributed under the terms of
* the GNU General Public License, with a few exceptions granted (see LICENSE)
*/
#include "gwlib/gwlib.h"
#include "mms_strings.h"
/* mms_strings.c: lookup code for various tables defined by MMS standard
* Adapted from wsp_strings.c
*/
#include "gwlib/gwlib.h"
#include "mms_strings.h"

View File

@ -30,7 +30,6 @@ long mms_string_to_versioned_##name(Octstr *ostr, int version);
#define LINEAR(name,strings)
#define LINEAR(name, strings)
#define STRING(string)
#define NAMED(name, strings) enum mms_##name##_enum { strings mms_##name##_dummy };
#define NSTRING(string, name) name,

View File

@ -459,7 +459,7 @@ void mbuni_mm1_queue_runner(void *unused)
if (gwthread_create((gwthread_func_t *)receive_push_reply, httpcaller) < 0) { /* Listener thread. */
error(0, "Mobile sender: Failed to create push reply thread: %d: %s!",
errno, strerror(errno));
return -1;
return;
}
mms_queue_run(octstr_get_cstr(settings->mm1_queuedir),
@ -468,7 +468,7 @@ void mbuni_mm1_queue_runner(void *unused)
http_caller_signal_shutdown(httpcaller);
sleep(2);
http_caller_destroy(httpcaller);
return 0;
return;
}