projects
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide readn() as a wrapper around read()
[exim.git]
/
src
/
src
/
dns.c
diff --git
a/src/src/dns.c
b/src/src/dns.c
index 63e31b2c43467a2c0620867debc02d14e2bcd151..4950079b4dc971114adad67c810222bbdc0d3671 100644
(file)
--- a/
src/src/dns.c
+++ b/
src/src/dns.c
@@
-2,7
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 201
6
*/
+/* Copyright (c) University of Cambridge 1995 - 201
7
*/
/* 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. */
@@
-271,10
+271,7
@@
else
{
int j;
for (j = 0; j < 32; j += 4)
{
int j;
for (j = 0; j < 32; j += 4)
- {
- sprintf(CS pp, "%x.", (v6[i] >> j) & 15);
- pp += 2;
- }
+ pp += sprintf(CS pp, "%x.", (v6[i] >> j) & 15);
}
Ustrcpy(pp, "ip6.arpa.");
}
Ustrcpy(pp, "ip6.arpa.");
@@
-1019,7
+1016,7
@@
switch (type)
assertion field. */
case T_CSA:
{
assertion field. */
case T_CSA:
{
- uschar *srvname, *namesuff, *tld
, *p
;
+ uschar *srvname, *namesuff, *tld;
int priority, weight, port;
int limit, rc, i;
BOOL ipv6;
int priority, weight, port;
int limit, rc, i;
BOOL ipv6;