From 5085b05d0fb02888de7c35c407605b762de2db05 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 21 Mar 2012 09:26:22 +0100 Subject: [PATCH] Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR writing to STDOUT breaks plack when running with DEBUG=1 --- C4/Auth.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index f74fc84..5ce1499 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1459,7 +1459,7 @@ sub checkpw { my ( $dbh, $userid, $password, $query ) = @_; if ($ldap) { - $debug and print "## checkpw - checking LDAP\n"; + $debug and print STDERR "## checkpw - checking LDAP\n"; my ($retval,$retcard,$retuserid) = checkpw_ldap(@_); # EXTERNAL AUTH ($retval) and return ($retval,$retcard,$retuserid); } -- 1.7.2.5