projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8383fc5
)
Response from server parsed through trim() to avoid trailing/leading whitespaces
author
Roland Häder
<roland@mxchange.org>
Thu, 6 Mar 2008 20:08:03 +0000
(20:08 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 6 Mar 2008 20:08:03 +0000
(20:08 +0000)
inc/functions.php
patch
|
blob
|
history
diff --git
a/inc/functions.php
b/inc/functions.php
index 459c6962d510c5a59e978d2bebebc04823a1be77..5692191704452f620a42d03ab5294cd50a9d96df 100644
(file)
--- 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