* This module handles shared rooms, inter-Citadel mail, and outbound
* mailing list processing.
*
- * Copyright (c) 2000-2018 by the citadel.org team
+ * Copyright (c) 2000-2020 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3.
return interested;
}
-void Netmap_AddMe(struct CtdlMessage *msg, const char *defl, long defllen)
-{
- long node_len;
- char buf[SIZ];
-
- /* prepend our node to the path */
- if (CM_IsEmpty(msg, eMessagePath)) {
- CM_SetField(msg, eMessagePath, defl, defllen);
- }
- node_len = strlen(CtdlGetConfigStr("c_nodename"));
- if (node_len >= SIZ)
- node_len = SIZ - 1;
- memcpy(buf, CtdlGetConfigStr("c_nodename"), node_len);
- buf[node_len] = '!';
- buf[node_len + 1] = '\0';
- CM_PrependToField(msg, eMessagePath, buf, node_len + 1);
-}
-
void InspectQueuedRoom(SpoolControl **pSC,
RoomProcList *room_to_spool,
#define MAX_LISTIDLENGTH 150
// Load the room banner as the list description
- struct CtdlMessage *msg = CtdlFetchMessage(sc->room.msgnum_info, 1, 1);
+ struct CtdlMessage *msg = CtdlFetchMessage(sc->room.msgnum_info, 1);
if (msg != NULL) {
CC->redirect_buffer = NewStrBufPlain(NULL, SIZ);
CtdlOutputPreLoadedMsg(msg, MT_CITADEL, HEADERS_NONE, 0, 0, 0);