diff options
| author | Sam Varshavchik | 2015-02-16 08:33:03 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2015-02-16 08:33:03 -0500 | 
| commit | 0623b6558a49900fb92e5c1bf103c9714f35ce2c (patch) | |
| tree | d00ce2f02be8231b8abd4ac3e7d85b301a25f565 | |
| parent | da75938c6c857fa8a5290850e288fa64052feacb (diff) | |
| download | courier-libs-0623b6558a49900fb92e5c1bf103c9714f35ce2c.tar.bz2 | |
Fix compiler warnings, testsuite.
| -rw-r--r-- | maildrop/testsuite2 | 3 | ||||
| -rw-r--r-- | rfc1035/testlookup.c | 3 | 
2 files changed, 5 insertions, 1 deletions
| diff --git a/maildrop/testsuite2 b/maildrop/testsuite2 index df65bc8..e63768b 100644 --- a/maildrop/testsuite2 +++ b/maildrop/testsuite2 @@ -232,7 +232,8 @@ runtest ""  for f in testsuite?.filter  do -    echo 'xfilter "cat"' >t +    echo "SHELL=/bin/sh" > t +    echo 'xfilter "cat"' >>t      cat $f >>t      chmod 600 t      mv -f t $f diff --git a/rfc1035/testlookup.c b/rfc1035/testlookup.c index 657bf33..a406411 100644 --- a/rfc1035/testlookup.c +++ b/rfc1035/testlookup.c @@ -41,6 +41,9 @@ char	*q=malloc(strlen(p)+1), *r;  extern char rfc1035_spf_gettxt(const char *current_domain,  			       char *buf); +extern char rfc1035_spf_gettxt_n(const char *current_domain, +			  char **buf); +  static void spflookup(const char *current_domain)  { | 
