Patch from Oscar (omgs) to fix bug #69: nis2rfc2307bis.php produces corrupts output.

Folded lines got destroyed by a trim, which removes the folding.
This commit is contained in:
Ralf Becker 2006-12-30 07:25:11 +00:00
parent 181c6def9e
commit 6dcc378964

View File

@ -34,7 +34,7 @@ if ($argc <= 1 || in_array($argv[1],array('-v','--help')) || $argv[1] == '--acco
$lines = file($file);
foreach($lines as $l => $line)
{
$lines[$l] = trim($line);
$lines[$l] = rtrim($line);
}
$group2account = '/cn=[^,]+,ou=groups/ou=accounts/';