]> git.mxchange.org Git - mailer.git/commitdiff
trim() added
authorRoland Häder <roland@mxchange.org>
Fri, 14 Aug 2009 20:10:36 +0000 (20:10 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 14 Aug 2009 20:10:36 +0000 (20:10 +0000)
inc/libs/wernis_functions.php

index b9418aa9d5cf2e3e3b0f7cc86faf18a38d8517a0..9aec9da8e97b6a7e599d3a65c5d68a4fb3a8d3b3 100644 (file)
@@ -114,7 +114,7 @@ function WERNIS_SEND_REQUEST ($scriptName, $requestData =  array()) {
 
        // All (maybe) fine so remove the response header from server
        for ($idx = (count($response) - 1); $idx > 1; $idx--) {
-               $line = $response[$idx];
+               $line = trim($response[$idx]);
                if (!empty($line)) {
                        $response = $line;
                        break;