Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Debug log fix.

  • Loading branch information...
commit db3d05c01e99576ffe562e5722cf787794b3aed3 1 parent 6c05976
@jamiemccarthy jamiemccarthy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Slash/Slash.pm
View
2  Slash/Slash.pm
@@ -639,7 +639,7 @@ sub printComments {
if ($constants->{memcached_debug} && $constants->{memcached_debug} >= 2) {
print STDERR scalar(gmtime) . " printComments memcached got keys '@old_keys' tried for '@keys_try'\n"
}
- $mcd_debug->{hits} = scalar @old_keys if keys %$mcd_debug;
+ $mcd_debug->{hits} = scalar @old_keys if $mcd_debug;
for my $old_key (@old_keys) {
my $new_key = substr($old_key, $mcdkeylen);
$comment_text->{$new_key} = delete $comment_text->{$old_key};
Please sign in to comment.
Something went wrong with that request. Please try again.