summaryrefslogtreecommitdiff
path: root/mailapi.c
diff options
context:
space:
mode:
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);
}
+