[open-ils-commits] [GIT] Evergreen ILS branch master updated. 55e62cb268e2435dfa052027229e635a243defd6
Evergreen Git
git at git.evergreen-ils.org
Wed Jul 17 13:38:16 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 55e62cb268e2435dfa052027229e635a243defd6 (commit)
from 71b298857646d89527d6f50d217ba696eebde3b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 55e62cb268e2435dfa052027229e635a243defd6
Author: Dan Scott <dscott at laurentian.ca>
Date: Mon Jun 24 10:12:50 2013 -0400
Avoid Z39.50 search warning for uninit var
The debug log blindly attempts to access list members that might not
exist (if, for example, an event code was returned from the attempt to
run do_service_search()), thus generating spurious log warnings.
Instead, move the debug line to only generate output when we have
created the list item in question.
Signed-off-by: Dan Scott <dscott at laurentian.ca>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm
index f9c88df..dba3706 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm
@@ -277,10 +277,11 @@ sub do_class_search {
push @services, $tmp_args{service};
push @results, $res->{result};
push @connections, $res->{connection};
+
+ $logger->debug("z3950: Result object: $results[$i], Connection object: $connections[$i]");
}
}
- $logger->debug("z3950: Result object: $results[$i], Connection object: $connections[$i]");
}
$logger->debug("z3950: Connections created");
-----------------------------------------------------------------------
Summary of changes:
.../lib/OpenILS/Application/Search/Z3950.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list