POP3->num_msgs = 0;
cprintf("+OK Citadel/UX POP3 server %s\r\n",
- CC->cs_nonce, config.c_fqdn);
+ CC->cs_nonce);
}
return;
}
else {
- cprintf("+OK %d %d\r\n",
+ cprintf("+OK %d %ld\r\n",
which_one,
POP3->msgs[which_one-1].rfc822_length
);
cprintf("+OK Here's your mail:\r\n");
if (POP3->num_msgs > 0) for (i=0; i<POP3->num_msgs; ++i) {
if (! POP3->msgs[i].deleted) {
- cprintf("%d %d\r\n",
+ cprintf("%d %ld\r\n",
i+1,
POP3->msgs[i].rfc822_length);
}
}
}
- cprintf("+OK %d %d\r\n", total_msgs, total_octets);
+ cprintf("+OK %d %ld\r\n", total_msgs, total_octets);
}