[libpri-commits] rmudgett: branch 1.4 r2192 - /branches/1.4/pri.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Tue Feb 8 10:44:42 CST 2011


Author: rmudgett
Date: Tue Feb  8 10:44:37 2011
New Revision: 2192

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2192
Log:
Swap of master/slave in pri_enslave() incorrect.

Thank you.  All I can say is oops.

(closes issue #18769)
Reported by: jcollie
Patches:
      libpri-1.4.12-beta3-swap.patch uploaded by jcollie (license 412)

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=2192&r1=2191&r2=2192
==============================================================================
--- branches/1.4/pri.c (original)
+++ branches/1.4/pri.c Tue Feb  8 10:44:37 2011
@@ -1808,7 +1808,7 @@
 		/* Swap master and slave. */
 		swp = master;
 		master = slave;
-		slave = master;
+		slave = swp;
 	}
 
 	/*




More information about the libpri-commits mailing list