Skip to content

Commit

Permalink
Bug fixes (#94)
Browse files Browse the repository at this point in the history
Bug fixes:
- added missing "." for dwFlags
- added missing constant enum ERROR_INVALID_PARAMETER

Changelog pending
  • Loading branch information
6DiegoDiego9 authored Apr 26, 2024
1 parent 8540f8d commit d34e31c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stdHTTP.cls
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Private Enum WINHTTP_ERROR
ERROR_WINHTTP_CLIENT_CERT_NO_PRIVATE_KEY = (WINHTTP_ERROR_BASE + 185)
ERROR_WINHTTP_CLIENT_CERT_NO_ACCESS_PRIVATE_KEY = (WINHTTP_ERROR_BASE + 186)
WINHTTP_ERROR_LAST = (WINHTTP_ERROR_BASE + 186)
ERROR_WINHTTP_INVALID_PARAMETER = 87 ' Standard Windows API error code for invalid parameter
End Enum

Private Enum WinHttpRequestOption
Expand Down Expand Up @@ -567,7 +568,7 @@ Private Function GetProxyCurrentUser(ByVal sURL As String) As ProxyInfoEx
'If IE is configured to use an auto-config script, then we will use it too
If (IEProxyConfig.lpszAutoConfigUrl <> 0) Then
With AutoProxyOptions
.dwFlags = dwFlags Or CONFIG_URL
.dwFlags = .dwFlags Or CONFIG_URL
.lpszAutoConfigUrl = IEProxyConfig.lpszAutoConfigUrl
End With
doAutoProxy = True
Expand Down

0 comments on commit d34e31c

Please sign in to comment.