diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-08 13:24:39 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-08 13:24:39 +0200 |
commit | 973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch) | |
tree | 1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/spf.c | |
parent | 66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff) |
fix deprecated prototypes
Diffstat (limited to 'src/spf.c')
-rw-r--r-- | src/spf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,7 @@ int spf_query( break; case 0: if (!ip4_scan(remoteip, ip4remote)) return SPF_SYNTAX; - if (ipme_is4(ip4remote) == 1) { + if (ipme_is4((struct ip4_address *)ip4remote) == 1) { if (!spf_info("MLocal=", remoteip)) return SPF_NOMEM; if (!spf_info("R:", "+")) return SPF_NOMEM; return SPF_ME; @@ -81,7 +81,7 @@ int spf_query( break; case 1: if (!ip6_scan(remoteip, ip6remote)) return SPF_SYNTAX; - if (ipme_is6(ip6remote) == 1) { + if (ipme_is6((struct ip6_address *)ip6remote) == 1) { if (!spf_info("MLocal=", remoteip)) return SPF_NOMEM; if (!spf_info("R:", "+")) return SPF_NOMEM; return SPF_ME; |