From 41491a519903b9db0747abef6bec250ad724a753 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 20 Jan 2005 10:08:45 +0000 Subject: [PATCH] MFH: fix typos in error messages --- ext/sysvshm/sysvshm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/sysvshm/sysvshm.c b/ext/sysvshm/sysvshm.c index dbe69b3561..3260fa03ff 100644 --- a/ext/sysvshm/sysvshm.c +++ b/ext/sysvshm/sysvshm.c @@ -183,7 +183,7 @@ PHP_FUNCTION(shm_detach) convert_to_long_ex(arg_id); shm_list_ptr = (sysvshm_shm *) zend_list_find(Z_LVAL_PP(arg_id), &type); if (!shm_list_ptr || type != php_sysvshm.le_shm) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "The parameter is not a valid shm_indentifier"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "The parameter is not a valid shm_identifier"); RETURN_FALSE; } @@ -214,7 +214,7 @@ PHP_FUNCTION(shm_remove) shm_list_ptr = (sysvshm_shm *) zend_list_find(id, &type); if (!shm_list_ptr) { - php_error(E_WARNING, "The parameter is not a valid shm_indentifier"); + php_error(E_WARNING, "The parameter is not a valid shm_identifier"); RETURN_FALSE; } @@ -315,7 +315,7 @@ PHP_FUNCTION(shm_get_var) PHP_VAR_UNSERIALIZE_INIT(var_hash); if(php_var_unserialize(&return_value, (const char **) &shm_data, shm_data+shm_var->length,&var_hash TSRMLS_CC)!=1) { PHP_VAR_UNSERIALIZE_DESTROY(var_hash); - php_error(E_WARNING, "variable data in shared memory is corruped"); + php_error(E_WARNING, "variable data in shared memory is corrupted"); RETURN_FALSE; } PHP_VAR_UNSERIALIZE_DESTROY(var_hash); -- 2.40.0