patch-2.1.27 linux/drivers/isdn/pcbit/callbacks.c
Next file: linux/drivers/isdn/pcbit/capi.c
Previous file: linux/drivers/isdn/isdn_tty.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Tue Feb 25 17:12:50 1997
- Orig file:
v2.1.26/linux/drivers/isdn/pcbit/callbacks.c
- Orig date:
Sat Jun 29 10:36:22 1996
diff -u --recursive --new-file v2.1.26/linux/drivers/isdn/pcbit/callbacks.c linux/drivers/isdn/pcbit/callbacks.c
@@ -164,18 +164,12 @@
* ictl.num >= strlen() + strlen() + 5
*/
- if (cbdata->data.setup.CalledPN)
- sprintf(ictl.num, "%s,%d,%d,%s",
- cbdata->data.setup.CallingPN,
- 7, 0,
- cbdata->data.setup.CalledPN);
-
- else
- sprintf(ictl.num, "%s,%d,%d,%s",
- cbdata->data.setup.CallingPN,
- 7, 0,
- "0");
-
+ strcpy(ictl.parm.setup.phone, cbdata->data.setup.CallingPN);
+ strcpy(ictl.parm.setup.eazmsn, cbdata->data.setup.CalledPN);
+ ictl.parm.setup.si1 = 7;
+ ictl.parm.setup.si2 = 0;
+ ictl.parm.setup.plan = 0;
+ ictl.parm.setup.screen = 0;
#ifdef DEBUG
printk(KERN_DEBUG "statstr: %s\n", ictl.num);
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]