[svn-commits] mattf: trunk r81 - /trunk/mtp3.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon May 14 08:19:26 MST 2007
Author: mattf
Date: Mon May 14 10:19:26 2007
New Revision: 81
URL: http://svn.digium.com/view/libss7?view=rev&rev=81
Log:
SLC is supposed to be shifted up four bits
Modified:
trunk/mtp3.c
Modified: trunk/mtp3.c
URL: http://svn.digium.com/view/libss7/trunk/mtp3.c?view=diff&rev=81&r1=80&r2=81
==============================================================================
--- trunk/mtp3.c (original)
+++ trunk/mtp3.c Mon May 14 10:19:26 2007
@@ -125,7 +125,7 @@
buf[0] = rl->dpc & 0xff;
buf[1] = ((rl->dpc >> 8) & 0x3f) | ((rl->opc << 6) & 0xc0);
buf[2] = (rl->opc >> 2) & 0xff;
- buf[3] = ((rl->opc >> 10) & 0x0f) | (rl->sls & 0xf0);
+ buf[3] = ((rl->opc >> 10) & 0x0f) | ((rl->sls << 4) & 0xf0);
return 4;
default:
return -1;
More information about the svn-commits
mailing list