projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
da036db
)
Fix http://bugs.debian.org/755022 (now uses https)
author
Ricardo Mones
<ricardo@mones.org>
Sat, 19 Jul 2014 09:52:24 +0000
(11:52 +0200)
committer
Ricardo Mones
<ricardo@mones.org>
Sat, 19 Jul 2014 09:52:41 +0000
(11:52 +0200)
src/plugins/spam_report/spam_report.c
patch
|
blob
|
history
diff --git
a/src/plugins/spam_report/spam_report.c
b/src/plugins/spam_report/spam_report.c
index aa3df22372a132df307ed4ae45d64563e11f8104..e99660748471b088cfd70aaedcf64d51e5239d90 100644
(file)
--- a/
src/plugins/spam_report/spam_report.c
+++ b/
src/plugins/spam_report/spam_report.c
@@
-1,6
+1,6
@@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-20
07
Colin Leroy <colin@colino.net>
+ * Copyright (C) 1999-20
14
Colin Leroy <colin@colino.net>
* and the Claws Mail Team
*
* This program is free software; you can redistribute it and/or modify
* and the Claws Mail Team
*
* This program is free software; you can redistribute it and/or modify
@@
-63,13
+63,15
@@
static gboolean check_debian_listid(MsgInfo *msginfo);
/* this interface struct is probably not enough for the various available
* reporting places/methods. It'll be extended as necessary. */
/* this interface struct is probably not enough for the various available
* reporting places/methods. It'll be extended as necessary. */
+#define SSFR_URL "https://www.signal-spam.fr/api/signaler"
+#define SSFR_BODY "message=%claws_mail_body_b64%"
+
+#define DEBL_URL "https://lists.debian.org/cgi-bin/nominate-for-review.pl?Quiet=on&msgid=%claws_mail_msgid%"
+
ReportInterface spam_interfaces[] = {
ReportInterface spam_interfaces[] = {
- { "Signal-Spam.fr", INTF_HTTP_AUTH, "https://www.signal-spam.fr/api/signaler",
- "message=%claws_mail_body_b64%", NULL},
+ { "Signal-Spam.fr", INTF_HTTP_AUTH, SSFR_URL, SSFR_BODY, NULL},
{ "Spamcop.net", INTF_MAIL, NULL, NULL, NULL},
{ "Spamcop.net", INTF_MAIL, NULL, NULL, NULL},
- { "Debian Lists", INTF_HTTP_GET,
- "http://lists.debian.org/cgi-bin/nominate-for-review.pl?Quiet=on&msgid=%claws_mail_msgid%",
- NULL, check_debian_listid},
+ { "Debian Lists", INTF_HTTP_GET, DEBL_URL, NULL, check_debian_listid},
{ NULL, INTF_NULL, NULL, NULL, NULL}
};
{ NULL, INTF_NULL, NULL, NULL, NULL}
};