From 743e2d8da207fd32dec5f5d6ead1bcafa156b058 Mon Sep 17 00:00:00 2001 From: g8bpq Date: Fri, 29 Nov 2024 18:08:18 +0000 Subject: [PATCH] 6.0.24.51a --- CBPQ32.vcproj.SKIGACER.johnw.user | 2 +- mailapi.c | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CBPQ32.vcproj.SKIGACER.johnw.user b/CBPQ32.vcproj.SKIGACER.johnw.user index 6aa33d1..216aac3 100644 --- a/CBPQ32.vcproj.SKIGACER.johnw.user +++ b/CBPQ32.vcproj.SKIGACER.johnw.user @@ -37,7 +37,7 @@ Name="Release|Win32" > tm_year + 1900, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); + paramLen = strlen(Peers) + strlen(MsgQueues) + strlen(Messages) + strlen(Unroutables); + + Params = malloc(paramLen + 1000); + + if (Params == 0) + { + free(Messages); + free(Unroutables); + return; + } + ptr = Params; sprintf(Request, "/api/bbsdata/%s", BBSName); @@ -1092,4 +1104,5 @@ int unroutableCount = 0; SendWebRequest("packetnodes.spots.radio", Request, Params, Return); free(Messages); free(Unroutables); + free(Params); }