summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-04-16 20:00:46 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-04-16 20:00:46 +0000
commitccbec3e56c74e09331a982a8cb1313e8bc1e5794 (patch)
treed24847884d0c467aac3d827d6dfbe3c53c3b68a7
parent8e15c4daffbfe35bb7aecf184ab8acd34585e9b7 (diff)
downloadphp-git-ccbec3e56c74e09331a982a8cb1313e8bc1e5794.tar.gz
Fixed typo
-rw-r--r--ext/w32api/w32api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/w32api/w32api.c b/ext/w32api/w32api.c
index 6442f22c38..71073d5bb5 100644
--- a/ext/w32api/w32api.c
+++ b/ext/w32api/w32api.c
@@ -82,7 +82,7 @@
* 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.
*
* 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,
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);
return FAILURE;;
@@ -2283,4 +2283,4 @@ int w32api_type_definition_error(char *s)
/* }}} */
-#endif /* HAVE_W32API */ \ No newline at end of file
+#endif /* HAVE_W32API */