projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf8f7ff
)
fix a c99 compile bug
author
Art Cancro
<ajc@citadel.org>
Sat, 6 Mar 2021 18:34:17 +0000
(13:34 -0500)
committer
Art Cancro
<ajc@citadel.org>
Sat, 6 Mar 2021 18:34:17 +0000
(13:34 -0500)
citadel/modules/listdeliver/serv_listdeliver.c
patch
|
blob
|
history
diff --git
a/citadel/modules/listdeliver/serv_listdeliver.c
b/citadel/modules/listdeliver/serv_listdeliver.c
index 29c1c5c82e737a78e9be648b49539db7e480a735..265acee3a77ed89c7e46401945dccbacf4ec935e 100644
(file)
--- a/
citadel/modules/listdeliver/serv_listdeliver.c
+++ b/
citadel/modules/listdeliver/serv_listdeliver.c
@@
-57,6
+57,7
@@
void listdeliver_do_msg(long msgnum, void *userdata) {
char buf[SIZ];
char *ch;
char bounce_to[256];
char buf[SIZ];
char *ch;
char bounce_to[256];
+ int i = 0;
ld->msgnum = msgnum;
if (msgnum <= 0) return;
ld->msgnum = msgnum;
if (msgnum <= 0) return;
@@
-83,7
+84,7
@@
void listdeliver_do_msg(long msgnum, void *userdata) {
recipients[0] = 0;
int config_lines = num_tokens(ld->netconf, '\n');
recipients[0] = 0;
int config_lines = num_tokens(ld->netconf, '\n');
- for (i
nt i
=0; i<config_lines; ++i) {
+ for (i=0; i<config_lines; ++i) {
extract_token(buf, ld->netconf, i, '\n', sizeof buf);
if (!strncasecmp(buf, "listrecp|", 9)) {
if (recipients[0] != 0) {
extract_token(buf, ld->netconf, i, '\n', sizeof buf);
if (!strncasecmp(buf, "listrecp|", 9)) {
if (recipients[0] != 0) {