From 85f200a46cf5e002e59e36b11ab4fba2f0422b33 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 11 Nov 2025 21:50:47 +0000 Subject: New upstream version 6.0.25.11+repack --- Cmd.c | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) (limited to 'Cmd.c') diff --git a/Cmd.c b/Cmd.c index 7eb6061..42869d5 100644 --- a/Cmd.c +++ b/Cmd.c @@ -905,18 +905,12 @@ int checkifService(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, s BOOL Stay = FALSE; char * ptr, *Context; int i; -<<<<<<< Updated upstream - - ptr = strtok_s(CmdTail, " ", &Context); -||||||| Stash base -======= char TailCopy[256]; strcpy(TailCopy, CmdTail); ptr = strtok_s(TailCopy, " ", &Context); ->>>>>>> Stashed changes // see if any param. if longer than two chars treat as remote node @@ -2677,14 +2671,8 @@ NoPort: // SEE IF CALL TO ANY OF OUR HOST SESSIONS - UNLESS DIGIS SPECIFIED -<<<<<<< Updated upstream - if (axcalls[7] == 0 && axcalls[9] ) -||||||| Stash base - if (axcalls[7] == 0) -======= // if (axcalls[7] == 0 && axcalls[9]) if (axcalls[7] == 0) ->>>>>>> Stashed changes { // If this connect is as a result of a command alias, don't check appls or we will loop @@ -2735,23 +2723,6 @@ NoPort: } } -<<<<<<< Updated upstream - // if no digis see if connect to known node. But now could have a single numeric param as a service number (Paula's Netromx) - // cmdCopy is command tail (after call) - - // Make sure field is numeric - - i = 0; - - while (cmdCopy[i] >= '0' && cmdCopy[i]<= '9') - i++; - - if (cmdCopy[i] != ' ') - goto Downlink; - else -||||||| Stash base - if (axcalls[7] == 0) -======= // if no digis see if connect to known node. // But now could have a single numeric param as a service number (Paula's Netromx) @@ -2760,22 +2731,13 @@ NoPort: // Make sure field is numeric if (cmdCopy[0] != ' ') ->>>>>>> Stashed changes { -<<<<<<< Updated upstream - if (i > 0) // Some digits - { - haveService = 1; - Service = atoi(cmdCopy); -||||||| Stash base - // SEE IF CALL TO ANOTHER NODE -======= i = 0; while (cmdCopy[i] >= '0' && cmdCopy[i]<= '9') i++; - if (cmdCopy[i] != ' ') + if (i && cmdCopy[i] != ' ') // have an all digit param = probably a service goto Downlink; else { @@ -2784,7 +2746,6 @@ NoPort: haveService = 1; Service = atoi(cmdCopy); } ->>>>>>> Stashed changes } } -- cgit v1.2.3