projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor naming of core message manipulation funcions
[citadel.git]
/
citadel
/
modules
/
network
/
serv_netmail.c
diff --git
a/citadel/modules/network/serv_netmail.c
b/citadel/modules/network/serv_netmail.c
index 287436bbfa0bc535745352b27e2fbf358b9d1708..f0ca8d9288b3ef7ded94c1ede2196ecbedc3baba 100644
(file)
--- a/
citadel/modules/network/serv_netmail.c
+++ b/
citadel/modules/network/serv_netmail.c
@@
-239,7
+239,7
@@
void network_deliver_digest(SpoolControl *sc)
valid->envelope_from = strdup(bounce_to);
CtdlSubmitMsg(msg, valid, NULL, 0);
}
valid->envelope_from = strdup(bounce_to);
CtdlSubmitMsg(msg, valid, NULL, 0);
}
- C
tdlFreeMessag
e(msg);
+ C
M_Fre
e(msg);
free_recipients(valid);
}
free_recipients(valid);
}
@@
-256,7
+256,7
@@
void network_process_digest(SpoolControl *sc, struct CtdlMessage *omsg, long *de
(sc->digestfp == NULL))
return;
(sc->digestfp == NULL))
return;
- msg = C
tdlDuplicateMessag
e(omsg);
+ msg = C
M_Duplicat
e(omsg);
if (msg != NULL) {
fprintf(sc->digestfp,
" -----------------------------------"
if (msg != NULL) {
fprintf(sc->digestfp,
" -----------------------------------"
@@
-304,7
+304,7
@@
void network_process_digest(SpoolControl *sc, struct CtdlMessage *omsg, long *de
FreeStrBuf(&CC->redirect_buffer);
sc->num_msgs_spooled += 1;
FreeStrBuf(&CC->redirect_buffer);
sc->num_msgs_spooled += 1;
- C
tdlFreeMessag
e(msg);
+ C
M_Fre
e(msg);
}
}
}
}
@@
-324,7
+324,7
@@
void network_process_list(SpoolControl *sc, struct CtdlMessage *omsg, long *dele
* in order to insert the [list name] in it, etc.
*/
* in order to insert the [list name] in it, etc.
*/
- msg = C
tdlDuplicateMessag
e(omsg);
+ msg = C
M_Duplicat
e(omsg);
CM_SetField(msg, eListID, SKEY(sc->Users[roommailalias]));
CM_SetField(msg, eListID, SKEY(sc->Users[roommailalias]));
@@
-347,7
+347,7
@@
void network_process_list(SpoolControl *sc, struct CtdlMessage *omsg, long *dele
/* Handle delivery */
network_deliver_list(msg, sc, CC->room.QRname);
/* Handle delivery */
network_deliver_list(msg, sc, CC->room.QRname);
- C
tdlFreeMessag
e(msg);
+ C
M_Fre
e(msg);
}
/*
}
/*
@@
-377,7
+377,7
@@
void network_deliver_list(struct CtdlMessage *msg, SpoolControl *sc, const char
CtdlSubmitMsg(msg, valid, NULL, 0);
free_recipients(valid);
}
CtdlSubmitMsg(msg, valid, NULL, 0);
free_recipients(valid);
}
- /* Do not call C
tdlFreeMessag
e(msg) here; the caller will free it. */
+ /* Do not call C
M_Fre
e(msg) here; the caller will free it. */
}
}
@@
-394,7
+394,7
@@
void network_process_participate(SpoolControl *sc, struct CtdlMessage *omsg, lon
if (sc->Users[participate] == NULL)
return;
if (sc->Users[participate] == NULL)
return;
- msg = C
tdlDuplicateMessag
e(omsg);
+ msg = C
M_Duplicat
e(omsg);
/* Only send messages which originated on our own
* Citadel network, otherwise we'll end up sending the
/* Only send messages which originated on our own
* Citadel network, otherwise we'll end up sending the
@@
-434,7
+434,7
@@
void network_process_participate(SpoolControl *sc, struct CtdlMessage *omsg, lon
free_recipients(valid);
}
FreeStrBuf(&Buf);
free_recipients(valid);
}
FreeStrBuf(&Buf);
- C
tdlFreeMessag
e(msg);
+ C
M_Fre
e(msg);
}
void network_process_ignetpush(SpoolControl *sc, struct CtdlMessage *omsg, long *delete_after_send)
}
void network_process_ignetpush(SpoolControl *sc, struct CtdlMessage *omsg, long *delete_after_send)
@@
-459,7
+459,7
@@
void network_process_ignetpush(SpoolControl *sc, struct CtdlMessage *omsg, long
/*
* Process IGnet push shares
*/
/*
* Process IGnet push shares
*/
- msg = C
tdlDuplicateMessag
e(omsg);
+ msg = C
M_Duplicat
e(omsg);
/* Prepend our node name to the Path field whenever
* sending a message to another IGnet node
/* Prepend our node name to the Path field whenever
* sending a message to another IGnet node
@@
-578,7
+578,7
@@
void network_process_ignetpush(SpoolControl *sc, struct CtdlMessage *omsg, long
FreeStrBuf(&Buf);
FreeStrBuf(&Recipient);
FreeStrBuf(&RemoteRoom);
FreeStrBuf(&Buf);
FreeStrBuf(&Recipient);
FreeStrBuf(&RemoteRoom);
- C
tdlFreeMessag
e(msg);
+ C
M_Fre
e(msg);
}
}
@@
-609,7
+609,7
@@
void network_spool_msg(long msgnum,
network_process_participate(sc, msg, &delete_after_send);
network_process_ignetpush(sc, msg, &delete_after_send);
network_process_participate(sc, msg, &delete_after_send);
network_process_ignetpush(sc, msg, &delete_after_send);
- C
tdlFreeMessag
e(msg);
+ C
M_Fre
e(msg);
/* update lastsent */
sc->lastsent = msgnum;
/* update lastsent */
sc->lastsent = msgnum;