Bugzilla – Attachment 8869 Details for
Bug 7766
C4/Auth.pm emits debug output to STDOUT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR
Signed-off-Bug-7766---C4Authpm-emit-DEBUG-output-t.patch (text/plain), 916 bytes, created by
Alex Arnaud
on 2012-04-04 13:51:23 UTC
(
hide
)
Description:
[Signed-off] Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2012-04-04 13:51:23 UTC
Size:
916 bytes
patch
obsolete
>From 6d7e66f7e38d1e8c4f51a56fa1bca8463f201366 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Wed, 21 Mar 2012 09:26:22 +0100 >Subject: [PATCH] [Signed-off] Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR > >writing to STDOUT breaks plack when running with DEBUG=1 > >Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> >--- > C4/Auth.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 0b737e7..0d5ddba 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -1424,7 +1424,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.0.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7766
:
8384
|
8419
| 8869