{
if (!CITADEL_DEBUG_HTML){
if ($html)
- debugLog("<< ".$string);
+ debugLog("<< ".$string."\n");
}
else
printf($string);
{
if (!CITADEL_DEBUG_HTML){
if ($html)
- debugLog("<< ".$string);
+ debugLog("<< ".$string."\n");
}
else
printf($string);
function ctdl_get_serv_info() {
serv_puts("INFO");
$reply = read_array();
- if ((count($reply) == 22) &&
+ if ((count($reply) == 23) &&
substr($reply[0], 0, 1) == "1") {
$server_info=array();
$server_info["serv_nodename"] = $reply[1];
}
else if (!strcasecmp($msgformat, "text/plain")) {
$txt .= "\r\n".$buf;
- $modified_ .= "<TT>" . htmlspecialchars($buf) . "</TT><BR>\n" ;
+ $modified_txt .= "<TT>" . htmlspecialchars($buf) . "</TT><BR>\n" ;
}
else if (!strcasecmp($msgformat, "text/x-citadel-variformat")) {