diff options
Diffstat (limited to 'mailapi.c')
| -rw-r--r-- | mailapi.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -971,6 +971,10 @@ void SendBBSDataToPktMapThread(void * Param) // Get Routing
MsgBytes = ReadMessageFile(Msg->number);
+
+ if (MsgBytes == NULL)
+ continue;
+
RLines = malloc(Msg->length * 2); // Very unlikely to need so much but better safe..
strcpy(RLines, "[]");
|
