From: stekkel Date: Tue, 27 Aug 2002 16:36:10 +0000 (+0000) Subject: finally managed to solve the bad Junk after literal output from the X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=eaaf577300d3f062095c5257d44768c1e227871f;hp=438fc5da6e0c77f950d1bc8574d65cb433e197f0;ds=sidebyside finally managed to solve the bad Junk after literal output from the imap-server git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3475 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/smtp.php b/functions/smtp.php index f1837c8b..d6cff037 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -193,8 +193,8 @@ function attachFiles ($fp, $session, $rn="\r\n", $checkdot = false) { if (substr($tmp, $tmp_length - strlen($rn), strlen($rn)) != $rn) { if ($fp) { fputs($fp, $rn); - $length += strlen($rn); } + $length += strlen($rn); }