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)


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2192 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Richard Mudgett
2011-02-08 16:44:37 +00:00
parent ed0d76d538
commit e01dce27b7

2
pri.c
View File

@@ -1808,7 +1808,7 @@ void pri_enslave(struct pri *master, struct pri *slave)
/* Swap master and slave. */
swp = master;
master = slave;
slave = master;
slave = swp;
}
/*