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
Logging: disable the verbose DKIM verification line by default; add a tag to <= lines.
[exim.git]
/
src
/
src
/
dcc.c
diff --git
a/src/src/dcc.c
b/src/src/dcc.c
index 1841e733d161cd54303fea462ea9b7932a5801f7..9a1657d263093e67430e6fd990b3d0db964dfbc2 100644
(file)
--- a/
src/src/dcc.c
+++ b/
src/src/dcc.c
@@
-7,7
+7,7
@@
* wbreyha@gmx.net
* See the file NOTICE for conditions of use and distribution.
*
* wbreyha@gmx.net
* See the file NOTICE for conditions of use and distribution.
*
- * Copyright (c) The Exim Maintainers 2015 - 201
6
+ * Copyright (c) The Exim Maintainers 2015 - 201
7
*/
/* This patch is based on code from Tom Kistners exiscan (ACL integration) and
*/
/* This patch is based on code from Tom Kistners exiscan (ACL integration) and
@@
-185,10
+185,10
@@
dcc_process(uschar **listptr)
/* If sockip contains an ip, we use a tcp socket, otherwise a UNIX socket */
if(Ustrcmp(sockip, "")){
/* If sockip contains an ip, we use a tcp socket, otherwise a UNIX socket */
if(Ustrcmp(sockip, "")){
- ipaddress = gethostbyname(
(char *)
sockip);
- bzero(
(char *)
&serv_addr_in, sizeof(serv_addr_in));
+ ipaddress = gethostbyname(
CS
sockip);
+ bzero(
CS
&serv_addr_in, sizeof(serv_addr_in));
serv_addr_in.sin_family = AF_INET;
serv_addr_in.sin_family = AF_INET;
- bcopy(
(char *)ipaddress->h_addr, (char *)
&serv_addr_in.sin_addr.s_addr, ipaddress->h_length);
+ bcopy(
CS ipaddress->h_addr, CS
&serv_addr_in.sin_addr.s_addr, ipaddress->h_length);
serv_addr_in.sin_port = htons(portnr);
if ((sockfd = socket(AF_INET, SOCK_STREAM,0)) < 0){
DEBUG(D_acl)
serv_addr_in.sin_port = htons(portnr);
if ((sockfd = socket(AF_INET, SOCK_STREAM,0)) < 0){
DEBUG(D_acl)
@@
-297,7
+297,7
@@
dcc_process(uschar **listptr)
}
}
}
}
- /* a blank line sep
e
rates header from body */
+ /* a blank line sep
a
rates header from body */
Ustrncat(sendbuf, "\n", sizeof(sendbuf)-Ustrlen(sendbuf)-1);
flushbuffer(sockfd, sendbuf);
DEBUG(D_acl)
Ustrncat(sendbuf, "\n", sizeof(sendbuf)-Ustrlen(sendbuf)-1);
flushbuffer(sockfd, sendbuf);
DEBUG(D_acl)