Version 0.1.12 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2002-05-13 22:29:39 +00:00
parent 04cde57a77
commit d5930d1fe8
36 changed files with 854 additions and 194 deletions

View File

@@ -31,7 +31,7 @@ static char *registrar = "pbx_config";
static int static_config = 0;
static int write_protect_config = 1;
static pthread_mutex_t save_dialplan_lock = PTHREAD_MUTEX_INITIALIZER;
static pthread_mutex_t save_dialplan_lock = AST_MUTEX_INITIALIZER;
/*
* Help for commands provided by this module ...
@@ -1496,8 +1496,12 @@ static int pbx_load_module(void)
appl="";
data = strtok(NULL, ",");
cidmatch = strchr(ext, '/');
if (cidmatch) {
*cidmatch = '\0';
cidmatch++;
}
strtok(ext, "/");
cidmatch = strtok(NULL, "/");
if (!data)
data="";

View File

@@ -40,7 +40,7 @@
/* For where to put dynamic tables */
#include "../asterisk.h"
static pthread_mutex_t verb_lock = PTHREAD_MUTEX_INITIALIZER;
static pthread_mutex_t verb_lock = AST_MUTEX_INITIALIZER;
static pthread_t console_thread;