Permalink
Browse files

Debug log fix.

  • Loading branch information...
1 parent 6c05976 commit db3d05c01e99576ffe562e5722cf787794b3aed3 @jamiemccarthy jamiemccarthy committed Jul 18, 2003
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};

0 comments on commit db3d05c

Please sign in to comment.