summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-07-29 22:43:10 +0200
committerBenny Baumann <BenBE@geshi.org>2015-07-29 22:43:10 +0200
commita0274662cf30a102b53a6d0ae63ccec01a6b19a1 (patch)
treef4677aed3de3ad9e40d31819f42dbb3a792f3d43
parent2e6ca4e42dc724d7904ee05985c88ee800ee54a1 (diff)
downloadcacert-devel-a0274662cf30a102b53a6d0ae63ccec01a6b19a1.tar.gz
cacert-devel-a0274662cf30a102b53a6d0ae63ccec01a6b19a1.tar.xz
cacert-devel-a0274662cf30a102b53a6d0ae63ccec01a6b19a1.zip
bug 1389: Consistent indentationbug-1389
-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 10c6d35..77be95f 100644
--- a/includes/mysql.php.sample
+++ b/includes/mysql.php.sample
@@ -49,8 +49,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");
@@ -99,9 +99,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);