diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-03-26 20:29:56 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-03-26 20:29:56 +0000 |
| commit | 056b34d0f418f8ee8cbdf9fee2fff83e06568a21 (patch) | |
| tree | e3c387ec6877228521ffbf48dc16ab763b8678e3 /HTTPcode.c | |
| parent | 594377a91bf3a454bd0be291500a050f34d23563 (diff) | |
| parent | 566b839fd49dc6c3345e865baa9c64e25dd8973a (diff) | |
Merge branch 'debian/latest' into ubuntu/jammy
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];
|
