projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*** empty log message ***
[citadel.git]
/
ctdlphp
/
ctdlprotocol.php
diff --git
a/ctdlphp/ctdlprotocol.php
b/ctdlphp/ctdlprotocol.php
index a104d03bbbaea174efe626da4d3d6e8723baf1d2..52e09f7c1da2c333c2c5968ec91440cdd4c1d394 100644
(file)
--- a/
ctdlphp/ctdlprotocol.php
+++ b/
ctdlphp/ctdlprotocol.php
@@
-43,7
+43,7
@@
function text_to_server($thetext, $convert_to_html) {
$this_line = strtok($thetext, "\n");
- while ($this_line) {
+ while ($this_line
!== FALSE
) {
$this_line = trim($this_line, "\n\r");
if ($this_line == "000") $this_line = "-000" ;
serv_puts($this_line);