svn commit: r1933835 - apr/apr/trunk/misc/win32

[email protected] Mon, 04 May 2026 21:34:00 -0000
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <177793044014.2698493.6908231993889560025@svn03-he-fi>
Author: ivan
Date: Mon May  4 21:33:59 2026
New Revision: 1933835

Log:
Fix typo in the name of the delay-loaded DLL "Iphlpapi.dll". Due to this typo,
the functions if_indextoname and if_nametoindex were never called on Windows.

* misc/win32/misc.c
  (late_dll): Fix typo in 'Iphlpapi' module name.

Submitted by: Simon Atansyan <[email protected]>

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

Modified: apr/apr/trunk/misc/win32/misc.c
==============================================================================
--- apr/apr/trunk/misc/win32/misc.c	Mon May  4 20:47:32 2026	(r1933834)
+++ apr/apr/trunk/misc/win32/misc.c	Mon May  4 21:33:59 2026	(r1933835)
@@ -111,7 +111,7 @@ static win32_late_dll_t late_dll[DLL_def
     {NULL, L"ws2_32", INVALID_HANDLE_VALUE},
     {NULL, L"shell32", INVALID_HANDLE_VALUE},
     {NULL, L"ntdll.dll", INVALID_HANDLE_VALUE},
-    {NULL, L"Iphplapi", INVALID_HANDLE_VALUE},
+    {NULL, L"Iphlpapi", INVALID_HANDLE_VALUE},
     {L"api-ms-win-downlevel-shell32-l1-1-0.dll", L"shell32", INVALID_HANDLE_VALUE}
 };