~ubuntu-branches/ubuntu/vivid/postfix/vivid-proposed

« 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 05:26:41 UTC
  • mto: (33.1.4 natty) (39.1.4 oneiric)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: james.westby@ubuntu.com-20110222052641-9kcxe1gt157c31j9
Tags: upstream-2.8.0
ImportĀ upstreamĀ versionĀ 2.8.0

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",