From: Roland Häder Date: Thu, 6 Mar 2008 20:08:03 +0000 (+0000) Subject: Response from server parsed through trim() to avoid trailing/leading whitespaces X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=bfecf9a624390d882a7fc58608fb8551773c5921 Response from server parsed through trim() to avoid trailing/leading whitespaces --- diff --git a/inc/functions.php b/inc/functions.php index 459c6962d5..5692191704 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1679,7 +1679,7 @@ function MXCHANGE_OPEN($script) { // Read response while(!feof($fp)) { - $response[] = fgets($fp, 1024); + $response[] = trim(fgets($fp, 1024)); } // Close socket