diff --git a/channels/chan_vpb.c b/channels/chan_vpb.c index fe6e1d21ad01b5f27051a0d449c20d6fef27779d..66d32f94eea2293cc6cd7e10f2bb9b699dc9c69c 100755 --- a/channels/chan_vpb.c +++ b/channels/chan_vpb.c @@ -82,7 +82,7 @@ static ast_mutex_t monlock = AST_MUTEX_INITIALIZER; /* This is the thread for the monitor which checks for input on the channels which are not currently in use. */ -static ast_mutex_t monitor_thread; +static pthread_t monitor_thread; static int mthreadactive = -1; /* Flag for monitoring monitorthread.*/