[svn-commits] rmudgett: branch 1.4 r1464 - /branches/1.4/pri.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Feb 5 17:34:58 CST 2010


Author: rmudgett
Date: Fri Feb  5 17:34:54 2010
New Revision: 1464

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1464
Log:
pri_restart() is no longer needed since the Q.921 rewrite.

Don't output error message for a deprecated function.

Modified:
    branches/1.4/pri.c

Modified: branches/1.4/pri.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/pri.c?view=diff&rev=1464&r1=1463&r2=1464
==============================================================================
--- branches/1.4/pri.c (original)
+++ branches/1.4/pri.c Fri Feb  5 17:34:54 2010
@@ -376,14 +376,13 @@
 
 int pri_restart(struct pri *pri)
 {
+	/* pri_restart() is no longer needed since the Q.921 rewrite. */
 #if 0
 	/* Restart Q.921 layer */
 	if (pri) {
 		q921_reset(pri, 1);
 		q921_start(pri, pri->localtype == PRI_CPE);	
 	}
-#else
-	pri_error(pri, "pri_restart should never be called !!!!\n");
 #endif
 	return 0;
 }




More information about the svn-commits mailing list