git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
982650e
)
Make dmarc code c89 compliant
author
Todd Lyons
<tlyons@exim.org>
Tue, 15 Apr 2014 20:22:46 +0000
(13:22 -0700)
committer
Todd Lyons
<tlyons@exim.org>
Tue, 15 Apr 2014 20:22:46 +0000
(13:22 -0700)
src/src/dmarc.c
patch
|
blob
|
history
src/src/dmarc.h
patch
|
blob
|
history
diff --git
a/src/src/dmarc.c
b/src/src/dmarc.c
index 32a1b9678b08d91ae2dcd5eb7481bfe174177ecc..05de69353d23da9ce5eb6f93bf41417efd29e2de 100644
(file)
--- 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);
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);
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 */
#endif /* EXPERIMENTAL_SPF */
#endif /* EXPERIMENTAL_DMARC */
-
-// vim:sw=2 expandtab
diff --git
a/src/src/dmarc.h
b/src/src/dmarc.h
index 356a8e423aad8b79513f119d41e3942bd3cab2d3..088d86494fb86d62b73640f60b31100c016744df 100644
(file)
--- 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 */
#define ARES_RESULT_DISCARD 12
#endif /* EXPERIMENTAL_DMARC */
-
-// vim:sw=2 expandtab