aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libstrongswan/plugins/winhttp/winhttp_fetcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/winhttp/winhttp_fetcher.c b/src/libstrongswan/plugins/winhttp/winhttp_fetcher.c
index 4a822bd9e..6ab866234 100644
--- a/src/libstrongswan/plugins/winhttp/winhttp_fetcher.c
+++ b/src/libstrongswan/plugins/winhttp/winhttp_fetcher.c
@@ -280,7 +280,7 @@ METHOD(fetcher_t, fetch, status_t,
{
DBG1(DBG_LIB, "opening request failed: %u", GetLastError());
}
- WinHttpCloseHandle(connect);
+ WinHttpCloseHandle(connection);
}
else
{