summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-07-29 22:43:25 +0200
committerBenny Baumann <BenBE@geshi.org>2015-07-29 22:43:25 +0200
commitf84d7c2ca78529eedcb93bb55638514205747198 (patch)
treeb7dc4d271eb97ba0db3df2a4844d0e2db5cdb5fd
parentcf386f0fc750fb2d00303f88ee991e44b6ca910c (diff)
parenta0274662cf30a102b53a6d0ae63ccec01a6b19a1 (diff)
downloadcacert-devel-f84d7c2ca78529eedcb93bb55638514205747198.tar.gz
cacert-devel-f84d7c2ca78529eedcb93bb55638514205747198.tar.xz
cacert-devel-f84d7c2ca78529eedcb93bb55638514205747198.zip
Merge branch 'bug-1389' into testserver-stable
-rw-r--r--includes/mysql.php.sample10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/mysql.php.sample b/includes/mysql.php.sample
index d5e0ad9..a493283 100644
--- a/includes/mysql.php.sample
+++ b/includes/mysql.php.sample
@@ -48,8 +48,8 @@
$smtp = fsockopen("localhost", 25);
if(!$smtp)
{
- echo("Could not connect to mailserver at localhost:25\n");
- return;
+ echo("Could not connect to mailserver at localhost:25\n");
+ return;
}
$InputBuffer = fgets($smtp, 1024);
fputs($smtp, "HELO www.cacert.org\r\n");
@@ -98,9 +98,9 @@
// fputs($smtp, chunk_split(base64_encode(recode("html..utf-8", $message)))."\r\n.\r\n");
$encoded_lines = explode( "\n", str_replace("\r", "", $message) );
array_walk( $encoded_lines,
- function (&$a) {
- $a = quoted_printable_encode(recode("html..utf-8", $a));
- });
+ function (&$a) {
+ $a = quoted_printable_encode(recode("html..utf-8", $a));
+ });
$encoded_message = implode("\n", $encoded_lines);
$encoded_message = str_replace("\r.", "\r=2E", $encoded_message);