Fixed typo

This commit is contained in:
Moriyoshi Koizumi 2003-04-16 20:00:46 +00:00
parent 8e15c4daff
commit ccbec3e56c

View file

@ -82,7 +82,7 @@
* static int Win32::UnregisterFunction(string FunctionName) * static int Win32::UnregisterFunction(string FunctionName)
* --------------------------------------------------------- * ---------------------------------------------------------
* *
* Allows the PHP programmer to force a funciton to be unregistered saving on memory resources. Can * Allows the PHP programmer to force a function to be unregistered saving on memory resources. Can
* be useful in long running scripts. * be useful in long running scripts.
* *
* Returns TRUE on success, FALSE on error. * Returns TRUE on success, FALSE on error.
@ -573,7 +573,7 @@ static int php_w32api_load_function (char *definition, int definition_len, int f
if(zend_hash_add(&WG(win32_ce)->function_table, (*fh)->function_name, if(zend_hash_add(&WG(win32_ce)->function_table, (*fh)->function_name,
strlen((*fh)->function_name) + 1, &function, sizeof(zend_function), NULL) == FAILURE) strlen((*fh)->function_name) + 1, &function, sizeof(zend_function), NULL) == FAILURE)
{ {
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Could not register funciton %s into function table", (*fh)->function_name); php_error_docref(NULL TSRMLS_CC, E_ERROR, "Could not register function %s into function table", (*fh)->function_name);
zend_hash_del(WG(funcs), (*fh)->function_name, strlen((*fh)->function_name) +1); zend_hash_del(WG(funcs), (*fh)->function_name, strlen((*fh)->function_name) +1);
return FAILURE;; return FAILURE;;