[libpri-commits] mattf: branch mattf/libpri-1.4-ntptmp r948 - /team/mattf/libpri-1.4-ntptmp/pri.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Tue Jul 21 17:28:43 CDT 2009


Author: mattf
Date: Tue Jul 21 17:28:39 2009
New Revision: 948

URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=948
Log:
Make sure the message that we pass back uses the master pri as the callback

Modified:
    team/mattf/libpri-1.4-ntptmp/pri.c

Modified: team/mattf/libpri-1.4-ntptmp/pri.c
URL: http://svn.asterisk.org/svn-view/libpri/team/mattf/libpri-1.4-ntptmp/pri.c?view=diff&rev=948&r1=947&r2=948
==============================================================================
--- team/mattf/libpri-1.4-ntptmp/pri.c (original)
+++ team/mattf/libpri-1.4-ntptmp/pri.c Tue Jul 21 17:28:39 2009
@@ -817,7 +817,7 @@
 	vsnprintf(tmp, sizeof(tmp), fmt, ap);
 	va_end(ap);
 	if (__pri_message)
-		__pri_message(pri, tmp);
+		__pri_message(PRI_MASTER(pri), tmp);
 	else
 		fputs(tmp, stdout);
 }
@@ -830,7 +830,7 @@
 	vsnprintf(tmp, sizeof(tmp), fmt, ap);
 	va_end(ap);
 	if (__pri_error)
-		__pri_error(pri, tmp);
+		__pri_error(PRI_MASTER(pri), tmp);
 	else
 		fputs(tmp, stderr);
 }




More information about the libpri-commits mailing list