]> granicus.if.org Git - php/commitdiff
MFH(r-1.10): fixed typo
authorMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 16 Apr 2003 20:03:43 +0000 (20:03 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 16 Apr 2003 20:03:43 +0000 (20:03 +0000)
ext/w32api/w32api.c

index 7bbb226e2b5b6e4a8764a941b8ecdd385abe0816..4b3448cdd5cebfe7336088278983e11536267fc5 100644 (file)
@@ -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.
@@ -576,7 +576,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(E_ERROR, "Could not register funciton %s into function table", (*fh)->function_name);
+               php_error(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;;
@@ -2284,4 +2284,4 @@ int w32api_type_definition_error(char *s)
 /* }}} */      
 
 
-#endif /* HAVE_W32API */
\ No newline at end of file
+#endif /* HAVE_W32API */