Updates for new libpri set_message api

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Matthew Fredrickson 20 years ago
parent 2353f5925c
commit 840a2ba5b4

@ -7480,7 +7480,7 @@ static void *do_idle_thread(void *vchan)
return NULL;
}
static void zt_pri_message(char *s)
static void zt_pri_message(struct pri *pri, char *s)
{
ast_verbose("%s", s);
@ -7492,7 +7492,10 @@ static void zt_pri_message(char *s)
ast_mutex_unlock(&pridebugfdlock);
}
static void zt_pri_error(char *s)
#ifndef PRI_NEW_SET_API
#error "Upgrade your libpri"
#endif
static void zt_pri_error(struct pri *pri, char *s)
{
ast_log(LOG_WARNING, "PRI: %s", s);

Loading…
Cancel
Save