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);
 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to