Minor code fixes.
This commit is contained in:
parent
734ef4946d
commit
857b08c16b
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue