git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build for OpenSSL 3.0.0 . Bug 2810
[exim.git]
/
src
/
src
/
dns.c
diff --git
a/src/src/dns.c
b/src/src/dns.c
index 63856ead3a662596d1860617305aa0d189c1f4a0..07c51e2dc37447e53e29b19790dc8e3ce8748552 100644
(file)
--- a/
src/src/dns.c
+++ b/
src/src/dns.c
@@
-3,7
+3,7
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 */
+/* Copyright (c) The Exim Maintainers 2020
- 2021
*/
/* See the file NOTICE for conditions of use and distribution. */
/* Functions for interfacing with the DNS. */
/* See the file NOTICE for conditions of use and distribution. */
/* Functions for interfacing with the DNS. */
@@
-1148,7
+1148,7
@@
switch (type)
case T_CSA:
{
uschar *srvname, *namesuff, *tld;
case T_CSA:
{
uschar *srvname, *namesuff, *tld;
- int priority, weight, port;
+ int priority,
dummy_
weight, port;
int limit, rc, i;
BOOL ipv6;
dns_record *rr;
int limit, rc, i;
BOOL ipv6;
dns_record *rr;
@@
-1237,7
+1237,7
@@
switch (type)
/* Extract the numerical SRV fields (p is incremented) */
GETSHORT(priority, p);
/* Extract the numerical SRV fields (p is incremented) */
GETSHORT(priority, p);
- GETSHORT(weight, p);
+ GETSHORT(
dummy_
weight, p);
GETSHORT(port, p);
/* Check the CSA version number */
GETSHORT(port, p);
/* Check the CSA version number */