diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-03-26 00:53:01 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-03-26 00:53:01 +0000 |
| commit | 94179f117a72faee016ed78d3bde1ae5867a41e5 (patch) | |
| tree | b1391067b7698d7567a28740db93793858fbc8ca /HTTPcode.c | |
| parent | 831f4a75eb6af7fda34e781cb4f324f4742a5fd2 (diff) | |
| parent | 5332f8b012034ba142c4a24fc6df74dfdc54f5a0 (diff) | |
Update upstream source from tag 'upstream/6.0.24.33'
Update to upstream version '6.0.24.33'
with Debian dir 1cb47d2883cca81a214b70e75087f14b756b63e0
Diffstat (limited to 'HTTPcode.c')
| -rw-r--r-- | HTTPcode.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -2462,29 +2462,29 @@ doHeader: return 1;
}
- GetParam(input, "Port", &Param[0]);
- Port = atoi(&Param[1]);
+ GetParam(input, "Port=", &Param[0]);
+ Port = atoi(&Param[0]);
PORT = GetPortTableEntryFromPortNum(Port); // Need slot not number
if (PORT)
Slot = PORT->PortSlot;
- GetParam(input, "Every", &Param[0]);
- Interval[Slot] = atoi(&Param[1]);
+ GetParam(input, "Every=", &Param[0]);
+ Interval[Slot] = atoi(&Param[0]);
- GetParam(input, "Dest", &Param[0]);
+ GetParam(input, "Dest=", &Param[0]);
_strupr(Param);
- strcpy(UIUIDEST[Slot], &Param[1]);
+ strcpy(UIUIDEST[Slot], &Param[0]);
- GetParam(input, "Path", &Param[0]);
+ GetParam(input, "Path=", &Param[0]);
_strupr(Param);
if (UIUIDigi[Slot])
free(UIUIDigi[Slot]);
- UIUIDigi[Slot] = _strdup(&Param[1]);
+ UIUIDigi[Slot] = _strdup(&Param[0]);
- GetParam(input, "File", &Param[0]);
+ GetParam(input, "File=", &Param[0]);
strcpy(FN[Slot], &Param[1]);
- GetParam(input, "Text", &Param[0]);
- strcpy(Message[Slot], &Param[1]);
+ GetParam(input, "Text=", &Param[0]);
+ strcpy(Message[Slot], &Param[0]);
MinCounter[Slot] = Interval[Slot];
|
