@@ -120,7 +120,7 @@ |
||
120 | 120 | . "(Error $errno: $errstr)"); |
121 | 121 | } |
122 | 122 | |
123 | - $this->getSocket(); |
|
123 | + $this->getSocket(); |
|
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
@@ -136,8 +136,7 @@ |
||
136 | 136 | while($writed < $filesize) { |
137 | 137 | if ($filesize - $writed > $this->maxBufsize) { |
138 | 138 | $readlen = $this->maxBufsize; |
139 | - } |
|
140 | - else { |
|
139 | + } else { |
|
141 | 140 | $readlen = $filesize - $writed; |
142 | 141 | } |
143 | 142 |