[Asterisk-cvs] asterisk/channels chan_zap.c,1.448,1.449

mattf at lists.digium.com mattf at lists.digium.com
Mon May 23 12:51:44 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv18691/channels

Modified Files:
	chan_zap.c 
Log Message:
Updates for new libpri set_message api


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.448
retrieving revision 1.449
diff -u -d -r1.448 -r1.449
--- chan_zap.c	20 May 2005 19:09:21 -0000	1.448
+++ chan_zap.c	23 May 2005 16:56:06 -0000	1.449
@@ -7480,7 +7480,7 @@
 	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 @@
 	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);
 




More information about the svn-commits mailing list