[svn-commits] rmudgett: branch 1.4 r1547 - /branches/1.4/q931.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Mar 18 10:50:23 CDT 2010
Author: rmudgett
Date: Thu Mar 18 10:50:19 2010
New Revision: 1547
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1547
Log:
Move a comment closer to where it has relevance.
Modified:
branches/1.4/q931.c
Modified: branches/1.4/q931.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q931.c?view=diff&rev=1547&r1=1546&r2=1547
==============================================================================
--- branches/1.4/q931.c (original)
+++ branches/1.4/q931.c Thu Mar 18 10:50:19 2010
@@ -602,11 +602,6 @@
{
int length;
- /*
- * The size of pri_subaddress->data[] is not the same as the size of
- * q931_subaddress->data[].
- */
-
if (!q931_subaddress->valid) {
pri_subaddress->valid = 0;
pri_subaddress->type = 0;
@@ -620,6 +615,10 @@
pri_subaddress->type = q931_subaddress->type;
pri_subaddress->odd_even_indicator = q931_subaddress->odd_even_indicator;
+ /*
+ * The size of pri_subaddress->data[] is not the same as the size of
+ * q931_subaddress->data[].
+ */
length = q931_subaddress->length;
pri_subaddress->length = length;
memcpy(pri_subaddress->data, q931_subaddress->data, length);
More information about the svn-commits
mailing list