summaryrefslogtreecommitdiff
path: root/mailapi.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-12-16 17:54:18 +0000
committerDave Hibberd <hibby@debian.org>2024-12-16 17:54:18 +0000
commit1f73eb560144e17ec5c32d93cd0b94595652c0b3 (patch)
treeb63de94dbfbce428e92be6b8cf628e07a2c214ee /mailapi.c
parenteab73bee95a961a76987bee6377d11dbfb3b41e9 (diff)
parenta7d635fe2f04abcc3683f680f6a05ff9b11bf3aa (diff)
Update upstream source from tag 'upstream/6.0.24.54+repack'
Update to upstream version '6.0.24.54+repack' with Debian dir f571d496d3f77935537972cf3e51bf50eb055257
Diffstat (limited to 'mailapi.c')
-rw-r--r--mailapi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mailapi.c b/mailapi.c
index cb0f223..750f73e 100644
--- a/mailapi.c
+++ b/mailapi.c
@@ -38,7 +38,7 @@ typedef struct MailAPI
{
char *URL;
int URLLen;
- int (* APIRoutine)();
+ int (* APIRoutine)(struct HTTPConnectionInfo * Session, char * response, char * Rest, int Auth);
int Auth;
} MailAPI;
@@ -1100,8 +1100,13 @@ int unroutableCount = 0;
ptr += sprintf(ptr, "\"location\": \"%s\",\r\n", ourBBSRec->Address);
ptr += sprintf(ptr, "\"unroutable\": %s\r\n}\r\n", Unroutables);
+#ifdef LINBPQ
SendWebRequest("packetnodes.spots.radio", Request, Params, 0);
+#else
+ pSendWebRequest("packetnodes.spots.radio", Request, Params, 0);
+#endif
free(Messages);
free(Unroutables);
free(Params);
}
+