From ed302bbbedaca1d0fd71b0cbc2b6136a12f75dd4 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 10 Sep 2010 06:44:02 -0400
Subject: [PATCH] - Code improvements + more infinite loop prevention

---
 program/lib/Net/SMTP.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/Net/SMTP.php b/program/lib/Net/SMTP.php
index f5a6254..0602e10 100644
--- a/program/lib/Net/SMTP.php
+++ b/program/lib/Net/SMTP.php
@@ -952,7 +952,7 @@
 
         /* If we have a separate headers string, send it first. */
         if (!is_null($headers)) {
-            $this->quotedata($line);
+            $this->quotedata($headers);
             if (PEAR::isError($result = $this->_send($headers . "\r\n\r\n"))) {
                 return $result;
             }

--
Gitblit v1.9.1