Index: trunk/kernel/include/smtp.php
===================================================================
diff -u -r1128 -r1390
--- trunk/kernel/include/smtp.php (.../smtp.php) (revision 1128)
+++ trunk/kernel/include/smtp.php (.../smtp.php) (revision 1390)
@@ -644,7 +644,7 @@
while ($line = fgets($this->connection, 512)) {
if ($this->debug) {
- echo "DEBUG: Recv: $line\n";
+ echo "DEBUG: Recv: $line
\n";
}
/* If we receive an empty line, the connection has been closed. */
@@ -759,7 +759,7 @@
global $CRLF;
if($this->debug)
{
- $this->buffer[] = "SEND: $data\n";
+ $this->buffer[] = "SEND: $data
\n";
}
if(is_resource($this->connection)){
return fwrite($this->connection, $data.$CRLF, strlen($data)+2);
@@ -792,7 +792,7 @@
}
if($this->debug)
{
- $this->buffer[] = "GET: ".$return."\n";
+ $this->buffer[] = "GET: ".$return."
\n";
}
return $return;