summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/yp/yp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/yp/yp.c b/ext/yp/yp.c
index f2dd1bd25e..64198f4f32 100644
--- a/ext/yp/yp.c
+++ b/ext/yp/yp.c
@@ -120,7 +120,7 @@ PHP_FUNCTION(yp_match) {
convert_to_string_ex(map);
convert_to_string_ex(key);
- if(yp_match((*domain)->value.str.val,(*map)->value.str.val,(*key)->value.str.val,key->value.str.len,&outval,&outvallen)) {
+ if(yp_match((*domain)->value.str.val,(*map)->value.str.val,(*key)->value.str.val,(*key)->value.str.len,&outval,&outvallen)) {
RETURN_FALSE;
}