Added mtrace function for printing information to standard output

This commit is contained in:
moodler 2004-08-05 17:08:46 +00:00
parent 69f78bcb59
commit defaac4cee
2 changed files with 25 additions and 23 deletions

View file

@ -2866,5 +2866,12 @@ function address_in_subnet($addr, $subnetstr) {
return $found;
}
function mtrace($string, $eol="\n") {
// For outputting debugging info
fwrite(STDOUT, $string.$eol);
flush();
}
// vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140:
?>