summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);