From 5332f8b012034ba142c4a24fc6df74dfdc54f5a0 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 26 Mar 2024 00:52:55 +0000 Subject: New upstream version 6.0.24.33 --- HTTPcode.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'HTTPcode.c') diff --git a/HTTPcode.c b/HTTPcode.c index 049fce3..0e62928 100644 --- a/HTTPcode.c +++ b/HTTPcode.c @@ -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]; -- cgit v1.2.3