RFT: capi_msgs.c diff
Hellmuth Michaelis
hm at kts.org
Thu Jul 31 07:25:13 PDT 2003
Hi,
would someone please have a look at this patch (or even verify it :-):
the patch which makes incoming numbers display and work correctly in
isdnd (for active AVM cards):
*** capi_msgs.c-DIST Wed Jun 11 01:09:37 2003
--- capi_msgs.c Thu Jul 31 16:20:04 2003
***************
*** 532,538 ****
z = x - 1;
if (z >= TELNO_MAX) z = (TELNO_MAX-1);
strncpy(cd->dst_telno, msg, z);
! msg += x;
x = z;
}
cd->dst_telno[x] = '\0';
--- 532,538 ----
z = x - 1;
if (z >= TELNO_MAX) z = (TELNO_MAX-1);
strncpy(cd->dst_telno, msg, z);
! msg += x-1;
x = z;
}
cd->dst_telno[x] = '\0';
***************
*** 548,554 ****
z = x - 2;
if (z >= TELNO_MAX) z = (TELNO_MAX-1);
strncpy(cd->src_telno, msg, z);
! msg += x;
x = z;
}
cd->src_telno[x] = '\0';
--- 548,554 ----
z = x - 2;
if (z >= TELNO_MAX) z = (TELNO_MAX-1);
strncpy(cd->src_telno, msg, z);
! msg += x-2;
x = z;
}
cd->src_telno[x] = '\0';
hellmuth
--
Hellmuth Michaelis Hamburg, Europe hm\at\kts.org www.kts.org
a duck is like a bicycle because they both have two wheels except the duck (tl)
More information about the freebsd-isdn
mailing list