initialize to no isdn logging if param not set in config

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@583 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2008-10-06 15:53:23 +00:00
parent bbca5aba49
commit d0ef88c299

View File

@ -1671,8 +1671,8 @@ static ZIO_SIG_CONFIGURE_FUNCTION(zap_isdn_configure_span)
char *var, *val;
Q931Dialect_t dialect = Q931_Dialect_National;
uint32_t opts = 0;
int q921loglevel = 0;
int q931loglevel = 0;
int q921loglevel = -1;
int q931loglevel = -1;
if (span->signal_type) {
snprintf(span->last_error, sizeof(span->last_error), "Span is already configured for signalling [%d].", span->signal_type);