diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-03-26 00:52:55 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-03-26 00:52:55 +0000 |
| commit | 5332f8b012034ba142c4a24fc6df74dfdc54f5a0 (patch) | |
| tree | f64b8533debabd013c4236464e78d1216b450edc /HTTPcode.c | |
| parent | e8c2a57f79bfd30689a45bcb8bc07998edcee773 (diff) | |
New upstream version 6.0.24.33upstream/6.0.24.33
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];
|
