1
0
Fork 0

- More graceful crash when config groups mbuni & core missing

- Documentation fixes
This commit is contained in:
bagyenda 2006-03-10 05:38:29 +00:00
parent e1a4f3d031
commit 6972fad0fe
5 changed files with 17 additions and 26 deletions

View File

@ -11,7 +11,7 @@ AC_PREREQ(2.59)
AC_INIT([mbuni],[cvs],[devel@mbuni.org])
AC_CONFIG_SRCDIR([mmlib/mms_util.c])
AC_CONFIG_AUX_DIR(autotools)
AM_INIT_AUTOMAKE([mbuni],[1.0.0-cvs])
AM_INIT_AUTOMAKE([mbuni],[cvs])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
AC_CANONICAL_HOST

View File

@ -403,34 +403,16 @@ gateway-1.4.0.tar.bz2 | tar xf -</tt></p>
<p>The kannel
sources need to be patched for Mbuni using one of the supplied patch files from
the Mbuni downloads section given above. You can use either one of the patch
files: </p>
sources need to be patched for Mbuni using the supplied patch file from
the Mbuni downloads section given above.
</p>
<ul>
<li><tt>mbuni-kannel-patch-minimal</tt> has minimal patches to Kannel
for:
<ul>
<li>Support of configuration directives
required by the MMS Gateway in the configuration file format used by
kannel. This is patch to gwlib
<li>Makefile patch so that WAP library
and header files are installed as part of Kannel installation</li>
</ul>
<li ><tt>mbuni-kannel-patch-full</tt> has all the patches above and
patches to Kannel itself to enable it support sending of Over-The-Air
settings using <a
href="http://www.openmobilealliance.org/release_program/cp_v11.html">OMA
Client Provisioning (v1.1) specifications</a>. The
changes have been tested but may of course contain a bug or
two. Since newer phones only support sending of MMS OTA settings
using OMA format, we thought this would be a useful addition.</li>
</ul>
<p><tt>mbuni-kannel-patch-full</tt> contains important updates to Kannel 1.4.0 that are now part of Kannel CVS.
(Mbuni still depends on the v1.4.0 release version.)
</p>
<p>Which patch you
choose is a matter of taste. Apply the patch like this</p>
<p>Apply the patch as follows:</p>
<p ><tt>cd gateway-1.4.0</tt>
<br>

View File

@ -41,6 +41,9 @@ int mms_load_core_settings(mCfgGrp *cgrp)
Octstr *http_proxy_host;
long loglevel;
if (cgrp == NULL)
panic(0,"Missing required group `core' in config file!");
/* Set the log file. */
log = mms_cfg_get(cgrp, octstr_imm("log-file"));
if (log != NULL) {

View File

@ -44,6 +44,9 @@ int mms_load_mmsbox_settings(mCfg *cfg, gwthread_func_t *mmsc_handler_func)
int i, n;
void *catchall = NULL;
if (grp == NULL)
panic(0,"Missing required group `mbuni' in config file!");
mms_load_core_settings(cgrp);
sendmms_users = list_create();

View File

@ -75,6 +75,9 @@ MmscSettings *mms_load_mmsc_settings(mCfg *cfg, List **proxyrelays)
memset(m, 0, sizeof *m);
if (grp == NULL)
panic(0,"Missing required group `mbuni' in config file!");
mms_load_core_settings(cgrp);
if (proxyrelays)