]> granicus.if.org Git - php/commitdiff
- this function is only in trunk
authorPierre Joye <pajoye@php.net>
Thu, 20 Jan 2011 13:57:40 +0000 (13:57 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 20 Jan 2011 13:57:40 +0000 (13:57 +0000)
ext/com_dotnet/com_olechar.c

index 5ef509b5c6ff71ba52a60709ee12a66c5fb7dc54..b901facb90f1bb15f45955060cd2f471e01a6403 100644 (file)
@@ -85,7 +85,7 @@ PHPAPI char *php_com_olestring_to_string(OLECHAR *olestring, uint *string_len, i
        }
 
        if (!ok) {
-               char *msg = php_win32_error_to_msg(GetLastError());
+               char *msg = php_win_err(GetLastError());
 
                php_error_docref(NULL TSRMLS_CC, E_WARNING,
                        "Could not convert string from unicode: `%s'", msg);