From df3d351cad7ecc2b6087e7f26edf6fa8b22cd960 Mon Sep 17 00:00:00 2001 From: Anthony Ferrara Date: Tue, 12 Jun 2012 14:10:35 -0400 Subject: [PATCH] Update error messages to be more inline with PHP standards --- ext/hash/hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 71f3753dab..40023f75b8 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -629,12 +629,12 @@ PHP_FUNCTION(hash_pbkdf2) } if (iterations <= 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Iterations Must Be A Positive Integer: %ld", iterations); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Iterations must be a positive integer: %ld", iterations); RETURN_FALSE; } if (length < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length Must Be Greater Than Or Equal To 0: %ld", length); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length must be greater than or equal to 0: %ld", length); RETURN_FALSE; } -- 2.50.1