[libss7-commits] mattf: trunk r147 - /trunk/isup.c
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Tue Mar 18 12:14:24 CDT 2008
Author: mattf
Date: Tue Mar 18 12:14:23 2008
New Revision: 147
URL: http://svn.digium.com/view/libss7?view=rev&rev=147
Log:
Revert previous commit because of bug
Modified:
trunk/isup.c
Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=147&r1=146&r2=147
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Tue Mar 18 12:14:23 2008
@@ -745,9 +745,6 @@
case 42:
cause = "Switching equipment congestion";
break;
- case 47:
- cause = "Resource unavailable, unspecified";
- break;
/* TODO: Finish the rest of these */
default:
cause = "Unknown";
@@ -2153,9 +2150,8 @@
len = parms[x].dump(ss7, message, parmbuf, maxlen);
break;
case PARM_TYPE_VARIABLE:
- len = parmbuf[0];
- parmbuf = &parmbuf[1];
- parms[x].dump(ss7, message, parmbuf, len);
+ parms[x].dump(ss7, message, parmbuf + 1, parmbuf[0]);
+ len = 1 + parmbuf[0];
break;
case PARM_TYPE_OPTIONAL:
optparm = (struct isup_parm_opt *)parmbuf;
More information about the libss7-commits
mailing list