[exim-cvs] Use function macro instead of explicit arg cast.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Use function macro instead of explicit arg cast.
Gitweb: http://git.exim.org/exim.git/commitdiff/27f9999e2828002705cabd10ef62ce86378287e3
Commit:     27f9999e2828002705cabd10ef62ce86378287e3
Parent:     217b0e56836c28c897e16b7633aeba158b0ef906
Author:     Todd Lyons <tlyons@???>
AuthorDate: Wed Jun 19 14:55:03 2013 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Wed Jun 19 14:55:03 2013 -0700


    Use function macro instead of explicit arg cast.
---
 src/src/acl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/src/acl.c b/src/src/acl.c
index d023b4a..e3efb7e 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -2900,7 +2900,7 @@ r = s = ip_socket(SOCK_DGRAM, host_af);
if (r < 0) goto defer;
r = ip_connect(s, host_af, h->address, portnum, 1);
if (r < 0) goto defer;
-len = strlen(CCS arg);
+len = Ustrlen(arg);
r = send(s, arg, len, MSG_NOSIGNAL);
if (r < 0) goto defer;
if (r < len)