]> granicus.if.org Git - php/commitdiff
MFH
authorHartmut Holzgraefe <hholzgra@php.net>
Fri, 26 Sep 2003 10:13:35 +0000 (10:13 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Fri, 26 Sep 2003 10:13:35 +0000 (10:13 +0000)
ext/yp/yp.c

index e9795fdc02d27437925ccf26f4df044c1e6973a6..2dc9ca3be3d340db7f23190bae751c2ad2e168b1 100644 (file)
@@ -298,7 +298,7 @@ static int php_foreach_cat (int instatus, char *inkey, int inkeylen, char *inval
                                add_assoc_stringl_ex((zval *) indata, key, inkeylen+1, inval, invallen, 1);
                                efree(key);
                        } else {
-                               php_error(E_WARNING, "Can't allocate %d bytes for key buffer in yp_cat()");
+                               php_error(E_WARNING, "Can't allocate %d bytes for key buffer in yp_cat()", inkeylen+1);
                        }
                }