summaryrefslogtreecommitdiff
path: root/manualPorts/thunderbird/hashcash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/thunderbird/hashcash.patch')
-rw-r--r--manualPorts/thunderbird/hashcash.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/manualPorts/thunderbird/hashcash.patch b/manualPorts/thunderbird/hashcash.patch
new file mode 100644
index 0000000..4f9614a
--- /dev/null
+++ b/manualPorts/thunderbird/hashcash.patch
@@ -0,0 +1,22 @@
+--- thunderbird-45.0/mailnews/compose/src/nsMsgSend.cpp 2016-04-18 17:51:36.094512105 +0200
++++ thunderbird-45.0/mailnews/compose/src/nsMsgSend.cpp 2016-04-18 17:53:56.667729453 +0200
+@@ -3340,6 +3340,19 @@
+ nsresult rv = StripOutGroupNames(buf);
+ NS_ENSURE_SUCCESS(rv, rv);
+
++ printf("Erich war hier!");
++
++ FILE *fpipe;
++ char line[256];
++ if (fpipe = (FILE*) popen("sendmailadvanced -s --no-encrypt -i /tmp/nsemail.eml","r"))
++ {
++ while (fgets(line,sizeof line, fpipe))
++ {
++ printf("Zeile: %s\n",line);
++ }
++ pclose(fpipe);
++ }
++
+ // Ok, now MIME II encode this to prevent 8bit problems...
+ char *convbuf = nsMsgI18NEncodeMimePartIIStr(buf, true,
+ mCompFields->GetCharacterSet(), 0, nsMsgMIMEGetConformToStandard());