* after looping over the user, we need to append a terminating \0
struct sockaddr_in sin;
int len; /* should be socklen_t but doesn't work on Macintosh */
+ len = 0;
+ memset (&sin, 0, sizeof (struct sockaddr_in));
if (!getpeername(CC->client_socket, (struct sockaddr *) &sin, (socklen_t *)&len)) {
return(rbl_check_addr(&sin.sin_addr, message_to_spammer));
}
mailtype = alias(this_recp);
mailtype = alias(this_recp);
mailtype = alias(this_recp);
+ j = 0;
for (j=0; !IsEmptyStr(&this_recp[j]); ++j) {
if (this_recp[j]=='_') {
this_recp_cooked[j] = ' ';
this_recp_cooked[j] = this_recp[j];
}
}
+ this_recp_cooked[j] = '\0';
invalid = 0;
switch(mailtype) {
case MES_LOCAL: