summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorRuslan Zakirov <ruz@bestpractical.com>2012-10-06 02:30:19 +0400
committerFather Chrysostomos <sprout@cpan.org>2012-10-08 08:48:35 -0700
commit37ae23ffcb6e43db012e73c1642fbd4998e6b781 (patch)
tree84272c4e42b4d340046d2f737e9ebe3a1c4420ab /hv.c
parent4843cf1de844c154e9edb28056d44cde09630c1f (diff)
downloadperl-37ae23ffcb6e43db012e73c1642fbd4998e6b781.tar.gz
use && rather than &
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index 5432280131..3b96101334 100644
--- a/hv.c
+++ b/hv.c
@@ -595,7 +595,7 @@ Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen,
}
}
- if (is_utf8 & !(flags & HVhek_KEYCANONICAL)) {
+ if (is_utf8 && !(flags & HVhek_KEYCANONICAL)) {
char * const keysave = (char *)key;
key = (char*)bytes_from_utf8((U8*)key, &klen, &is_utf8);
if (is_utf8)