Skip to content
Snippets Groups Projects
Commit 3fa677d9 authored by rswindell's avatar rswindell
Browse files

Allow the maximum length (63 chars) for QWK pack/unpack/call-out command-lines.

parent 353057d8
No related branches found
No related tags found
No related merge requests found
...@@ -994,8 +994,8 @@ outgoing network packets and must be accurate. ...@@ -994,8 +994,8 @@ outgoing network packets and must be accurate.
This is the command line to use to create (compress) REP packets for This is the command line to use to create (compress) REP packets for
this QWK network hub. this QWK network hub.
*/ */
uifc.input(WIN_MID|WIN_SAV,0,0,"Packet Creation" uifc.input(WIN_MID|WIN_SAV,0,0,""
,cfg.qhub[num]->pack,50,K_EDIT); ,cfg.qhub[num]->pack,sizeof(cfg.qhub[num]->pack)-1,K_EDIT);
break; break;
case 2: case 2:
SETHELP(WHERE); SETHELP(WHERE);
...@@ -1005,8 +1005,8 @@ this QWK network hub. ...@@ -1005,8 +1005,8 @@ this QWK network hub.
This is the command line to use to extract (decompress) QWK packets from This is the command line to use to extract (decompress) QWK packets from
this QWK network hub. this QWK network hub.
*/ */
uifc.input(WIN_MID|WIN_SAV,0,0,"Packet Extraction" uifc.input(WIN_MID|WIN_SAV,0,0,""
,cfg.qhub[num]->unpack,50,K_EDIT); ,cfg.qhub[num]->unpack,sizeof(cfg.qhub[num]->unpack)-1,K_EDIT);
break; break;
case 3: case 3:
SETHELP(WHERE); SETHELP(WHERE);
...@@ -1016,8 +1016,8 @@ this QWK network hub. ...@@ -1016,8 +1016,8 @@ this QWK network hub.
This is the command line to use to initiate a call-out to this QWK This is the command line to use to initiate a call-out to this QWK
network hub. network hub.
*/ */
uifc.input(WIN_MID|WIN_SAV,0,0,"Call-out Command" uifc.input(WIN_MID|WIN_SAV,0,0,""
,cfg.qhub[num]->call,50,K_EDIT); ,cfg.qhub[num]->call,sizeof(cfg.qhub[num]->call)-1,K_EDIT);
break; break;
case 4: case 4:
sprintf(str,"%u",cfg.qhub[num]->node); sprintf(str,"%u",cfg.qhub[num]->node);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment