You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mt...@apache.org on 2009/02/17 16:02:25 UTC

svn commit: r745112 - /apr/apr/trunk/dso/win32/dso.c

Author: mturk
Date: Tue Feb 17 15:02:25 2009
New Revision: 745112

URL: http://svn.apache.org/viewvc?rev=745112&view=rev
Log:
Fix copy/paste typo

Modified:
    apr/apr/trunk/dso/win32/dso.c

Modified: apr/apr/trunk/dso/win32/dso.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/dso/win32/dso.c?rev=745112&r1=745111&r2=745112&view=diff
==============================================================================
--- apr/apr/trunk/dso/win32/dso.c (original)
+++ apr/apr/trunk/dso/win32/dso.c Tue Feb 17 15:02:25 2009
@@ -84,9 +84,9 @@
             rv = apr_get_os_error();
             if (GetFullPathNameW(wpath, sizeof(fpath) / sizeof(apr_wchar_t), fpath, &ignored)) {
                 if (SetDllDirectoryW(fpath)) {
-                    os_handle = LoadLibraryExW(fpath, NULL, 0);
+                    os_handle = LoadLibraryExW(wpath, NULL, 0);
                     if (!os_handle)
-                        os_handle = LoadLibraryExW(fpath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
+                        os_handle = LoadLibraryExW(wpath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
                     if (os_handle)
                         rv = APR_SUCCESS;
                  }