View | Details | Raw Unified
Collapse All | Expand All

(-) src/dspam.c (-4 / +5 lines)
 Lines 51-56    Link Here 
#include <sys/stat.h>
#include <sys/stat.h>
#include <netdb.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/socket.h>
#include <sysexits.h>
#ifdef _WIN32
#ifdef _WIN32
#include <io.h>
#include <io.h>
 Lines 1994-2004    Link Here 
      nt_add(ATX->results, presult);
      nt_add(ATX->results, presult);
    else
    else
      free(presult);
      free(presult);
    LOGDEBUG ("DSPAM Instance Shutdown.  Exit Code: %d", return_code);
    LOGDEBUG ("DSPAM Instance Shutdown.  Exit Code: %d", retcode);
    buffer_destroy(parse_message);
    buffer_destroy(parse_message);
  }
  }
  return return_code;
  return retcode;
}
}
// break
// break
// load_agg
// load_agg
 Lines 2321-2328    Link Here 
  
  
          while (user != NULL)
          while (user != NULL)
          {
          {
            if (!strcmp (user, username) || user[0] == '*' ||
            if (!strcmp (user, username) || (user[0] == '*' && strncmp(user, "*@", 2)) ||
               (!strncmp(user, "*@", 2) && !strcmp(user+2, strchr(username,'@'))))
               (!strncmp(user, "*@", 2) && !strcmp(user+1, strchr(username,'@'))))
            {
            {
  
  
              /* If we're reporting a spam, report it as a spam to all other
              /* If we're reporting a spam, report it as a spam to all other