~ubuntu-branches/ubuntu/saucy/postfix/saucy

« back to all changes in this revision

Viewing changes to src/milter/test-milter.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2011-02-22 11:20:43 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110222112043-c34ht219w3ybrilr
Tags: 2.8.0-2
* a little more lintian cleanup
* Fix missing format strings in smtp-sink.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
        printf("test_reply %s\n", reply_code);
210
210
        return (reply_code[0] == '4' ? SMFIS_TEMPFAIL : SMFIS_REJECT);
211
211
    } else {
212
 
        printf("test_reply %d\n", code);
 
212
        printf("test_reply %d\n\n", code);
213
213
        return (code);
214
214
    }
215
215
}
397
397
 
398
398
#endif
399
399
 
 
400
#if SMFI_VERSION > 5
 
401
 
400
402
static sfsistat test_negotiate(SMFICTX *, unsigned long, unsigned long,
401
403
                                       unsigned long, unsigned long,
402
404
                                       unsigned long *, unsigned long *,
403
405
                                       unsigned long *, unsigned long *);
404
406
 
 
407
#endif
 
408
 
 
409
#ifndef SMFIF_CHGFROM
 
410
#define SMFIF_CHGFROM 0
 
411
#endif
 
412
#ifndef SMFIP_HDR_LEADSPC
 
413
#define SMFIP_HDR_LEADSPC 0
 
414
#define misc_mask 0
 
415
#endif
 
416
 
405
417
static struct smfiDesc smfilter =
406
418
{
407
419
    "test-milter",