diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-11-11 21:42:35 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-11-11 21:42:35 +0000 |
| commit | 9aad97786d945165530dcac2216c5b75e4632f82 (patch) | |
| tree | 96c8400266ae38a742497c4e4a06ab34ee51839c /APRSCode.c | |
| parent | 453f162d225b192d5da5a843633208f0307e6afc (diff) | |
6.0.25.9
Diffstat (limited to 'APRSCode.c')
| -rw-r--r-- | APRSCode.c | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -7693,7 +7693,7 @@ VOID APRSProcessHTTPMessage(SOCKET sock, char * MsgPtr, BOOL LOCAL, BOOL COOKIE) while (ptr)
{
char ToLopped[11] = "";
-
+
if (ptr->Acked)
strcpy(Retries, "A");
else if (ptr->Retries == 0)
@@ -7701,26 +7701,26 @@ VOID APRSProcessHTTPMessage(SOCKET sock, char * MsgPtr, BOOL LOCAL, BOOL COOKIE) else
sprintf(Retries, "%d", ptr->Retries);
- memcpy(ToLopped, ptr->ToCall, 10);
- strlop(ToLopped, ' ');
+ memcpy(ToLopped, ptr->ToCall, 10);
+ strlop(ToLopped, ' ');
- OutputLen += sprintf(&OutBuffer[OutputLen], WebTXLine,
- ptr->ToCall, ptr->Seq, ptr->Time, Retries, ptr->Text);
- ptr = ptr->Next;
+ OutputLen += sprintf(&OutBuffer[OutputLen], WebTXLine,
+ ptr->ToCall, ptr->Seq, ptr->Time, Retries, ptr->Text);
+ ptr = ptr->Next;
- if (OutputLen > 99000)
- break;
+ if (OutputLen > 99000)
+ break;
- }
+ }
- OutputLen += sprintf(&OutBuffer[OutputLen], "%s", WebTrailer);
+ OutputLen += sprintf(&OutBuffer[OutputLen], "%s", WebTrailer);
- HeaderLen = sprintf(Header, "HTTP/1.0 200 OK\r\nContent-Length: %d\r\nContent-Type: text/html\r\n\r\n", OutputLen);
- sendandcheck(sock, Header, HeaderLen);
- sendandcheck(sock, OutBuffer, OutputLen);
+ HeaderLen = sprintf(Header, "HTTP/1.0 200 OK\r\nContent-Length: %d\r\nContent-Type: text/html\r\n\r\n", OutputLen);
+ sendandcheck(sock, Header, HeaderLen);
+ sendandcheck(sock, OutBuffer, OutputLen);
+
+ return;
- return;
-
}
|
