[exim-cvs] Make dmarc code c89 compliant

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Make dmarc code c89 compliant
Gitweb: http://git.exim.org/exim.git/commitdiff/6da250931d4b93e2bfe6de4adfc0d884e28a91c9
Commit:     6da250931d4b93e2bfe6de4adfc0d884e28a91c9
Parent:     982650eceba2e54d2022f92b142b85fa083d3d13
Author:     Todd Lyons <tlyons@???>
AuthorDate: Tue Apr 15 13:22:46 2014 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Tue Apr 15 13:22:46 2014 -0700


    Make dmarc code c89 compliant
---
 src/src/dmarc.c |    4 +---
 src/src/dmarc.h |    2 --
 2 files changed, 1 insertions(+), 5 deletions(-)


diff --git a/src/src/dmarc.c b/src/src/dmarc.c
index 32a1b96..05de693 100644
--- a/src/src/dmarc.c
+++ b/src/src/dmarc.c
@@ -455,7 +455,7 @@ int dmarc_write_history_file()

   if (spf_response != NULL)
     history_buffer = string_sprintf("%sspf %d\n", history_buffer, dmarc_spf_ares_result);
-    // history_buffer = string_sprintf("%sspf -1\n", history_buffer);
+    /* history_buffer = string_sprintf("%sspf -1\n", history_buffer); */


history_buffer = string_sprintf("%s%s", history_buffer, dkim_history_buffer);
history_buffer = string_sprintf("%spdomain %s\n", history_buffer, dmarc_used_domain);
@@ -633,5 +633,3 @@ uschar *dmarc_auth_results_header(header_line *from_header, uschar *hostname)

#endif /* EXPERIMENTAL_SPF */
#endif /* EXPERIMENTAL_DMARC */
-
-// vim:sw=2 expandtab
diff --git a/src/src/dmarc.h b/src/src/dmarc.h
index 356a8e4..088d864 100644
--- a/src/src/dmarc.h
+++ b/src/src/dmarc.h
@@ -60,5 +60,3 @@ void dmarc_send_forensic_report(u_char **);
#define ARES_RESULT_DISCARD 12

#endif /* EXPERIMENTAL_DMARC */
-
-// vim:sw=2 expandtab