While wandering around the source code to spamd looking to see if
trapping was case insensitive, I noticed a slight difference in how
spamd and spamdb convert addresses to all lower case:
Spamd does the following in the greyupdate function:
for (i = 0; trap[i] != '\0'; i++)
if (isupper(trap[i]))
trap[i] = tolower(trap[i]);
But spamdb does it slightly different, which was added in the latest patch:
for (i = 0; ip[i] != '\0'; i++)
if (isupper(ip[i]))
- ip[i] = tolower(ip[i]);
+ ip[i] = (char)tolower(ip[i]);
I'm not a C coder, so I don't really know what I'm talking about. I was
able to answer my own question about case, but this slight difference in
code was just something I noticed.
-- Will