summaryrefslogtreecommitdiff
path: root/mailapi.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-12-03 00:27:59 +0000
committerDave Hibberd <hibby@debian.org>2024-12-03 00:27:59 +0000
commit745a9f8e880f8b9541bca2288e68b7f8d346d58d (patch)
tree26d9f876a470d2f41d3a39403724cd2dc3ccfa02 /mailapi.c
parentdd84b546a055a33657f094c2ef6d36a321a545ff (diff)
parent96c573931d40b6b191614c96299d66ca6217d1d8 (diff)
Update upstream source from tag 'upstream/6.0.24.53+repack'
Update to upstream version '6.0.24.53+repack' with Debian dir 64961bc210cd2b4237f556f2eada2c03ed86fd0f
Diffstat (limited to 'mailapi.c')
-rw-r--r--mailapi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mailapi.c b/mailapi.c
index c1f60d8..cb0f223 100644
--- a/mailapi.c
+++ b/mailapi.c
@@ -869,7 +869,6 @@ double LonFromLOC = 0;
void SendBBSDataToPktMap()
{
- char Return[4096];
char Request[64];
char * Params;
char * ptr;
@@ -967,7 +966,7 @@ void SendBBSDataToPktMap()
CheckifRoutable(Msg);
- tm = gmtime(&Msg->datereceived);
+ tm = gmtime((time_t *)&Msg->datereceived);
sprintf(Time, "%04d-%02d-%02dT%02d:%02d:%02d+00:00",
tm->tm_year + 1900, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec);
@@ -1101,7 +1100,7 @@ int unroutableCount = 0;
ptr += sprintf(ptr, "\"location\": \"%s\",\r\n", ourBBSRec->Address);
ptr += sprintf(ptr, "\"unroutable\": %s\r\n}\r\n", Unroutables);
- SendWebRequest("packetnodes.spots.radio", Request, Params, Return);
+ SendWebRequest("packetnodes.spots.radio", Request, Params, 0);
free(Messages);
free(Unroutables);
free(Params);