mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix compile warning in chan_zap if libpri not installed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7334,9 +7334,9 @@ static int action_zapdialoffhook(struct mansession *s, struct message *m)
|
||||
static int __unload_module(void)
|
||||
{
|
||||
int x = 0;
|
||||
int i;
|
||||
struct zt_pvt *p, *pl;
|
||||
#ifdef ZAPATA_PRI
|
||||
int i;
|
||||
for(i=0;i<NUM_SPANS;i++) {
|
||||
pthread_cancel(pris[i].master);
|
||||
}
|
||||
|
Reference in New Issue
Block a user