~ubuntu-branches/ubuntu/vivid/exim4/vivid

« back to all changes in this revision

Viewing changes to src/spam.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-12-02 15:28:46 UTC
  • mfrom: (2.1.42 sid)
  • Revision ID: package-import@ubuntu.com-20141202152846-74f7xzu1l33292ll
Tags: 4.84-4ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Show Ubuntu distribution in SMTP banner.
  - Don't provide default-mta; in Ubuntu, we want postfix to be the
    default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        (spamd_address_container *)store_get(sizeof(spamd_address_container));
130
130
 
131
131
      /* grok spamd address and port */
132
 
      if( sscanf(CS address, "%s %u", this_spamd->tcp_addr, &(this_spamd->tcp_port)) != 2 ) {
 
132
      if (sscanf(CS address, "%23s %u", this_spamd->tcp_addr, &(this_spamd->tcp_port)) != 2)
 
133
        {
133
134
        log_write(0, LOG_MAIN,
134
135
          "spam acl condition: warning - invalid spamd address: '%s'", address);
135
136
        continue;