summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2011-03-08 08:55:20 +0100
committerAlib <aliboba@free.fr>2011-03-08 08:55:20 +0100
commitbf854df1bc71d1f72a00c33a8c6a9144b841a860 (patch)
treef80366c72707797f84ebd8082cb5b0996edc18de
parentbb8d8e23433b15f095b9353cbd87318a031139d9 (diff)
downloadistreamdev-bf854df1bc71d1f72a00c33a8c6a9144b841a860.tar.gz
istreamdev-bf854df1bc71d1f72a00c33a8c6a9144b841a860.tar.bz2
corrected bug in svdrp.php ( Thanks Holger )
-rw-r--r--bin/svdrp.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/svdrp.php b/bin/svdrp.php
index 466c2ee..ceed493 100644
--- a/bin/svdrp.php
+++ b/bin/svdrp.php
@@ -65,8 +65,9 @@ class SVDRP
fputs($this->handle, $cmd . "\n");
$s = "";
$nline = 0;
- while($s .= fgets($this->handle,4096))
- {
+ while(!feof($this->handle))
+ {
+ $s .= fgets($this->handle,4096))
$nline++;
$this->DebugMessage($s);