diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-11-11 21:50:47 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-11-11 21:50:47 +0000 |
| commit | 85f200a46cf5e002e59e36b11ab4fba2f0422b33 (patch) | |
| tree | 0ff6b163c3b3acd64194c7b933505a2a159e42ee /Cmd.c | |
| parent | 9aad97786d945165530dcac2216c5b75e4632f82 (diff) | |
New upstream version 6.0.25.11+repackupstream/6.0.25.11+repack
Diffstat (limited to 'Cmd.c')
| -rw-r--r-- | Cmd.c | 41 |
1 files changed, 1 insertions, 40 deletions
@@ -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
}
}
|
