Bugzilla – Attachment 8419 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]
Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR
Bug-7766---C4Authpm-emit-DEBUG-output-to-STDERR.patch (text/plain), 848 bytes, created by
Dobrica Pavlinusic
on 2012-03-21 14:43:43 UTC
(
hide
)
Description:
Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2012-03-21 14:43:43 UTC
Size:
848 bytes
patch
obsolete
>From 5085b05d0fb02888de7c35c407605b762de2db05 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >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
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