From d3cb19278d60ac6f7963379254546cdca36a90e2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Jan 2017 01:22:55 +0300 Subject: separate handle types for HNETLIBCONN & HNETLIBBIND --- plugins/Weather/src/stdafx.h | 3 ++- plugins/Weather/src/weather_http.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Weather/src') diff --git a/plugins/Weather/src/stdafx.h b/plugins/Weather/src/stdafx.h index 677cca67d1..6c4a8082bb 100644 --- a/plugins/Weather/src/stdafx.h +++ b/plugins/Weather/src/stdafx.h @@ -358,7 +358,8 @@ extern unsigned status, old_status; extern MWindowList hDataWindowList, hWindowList; extern HNETLIBUSER hNetlibUser; -extern HANDLE hNetlibHttp, hHookWeatherUpdated, hHookWeatherError, hTBButton, hUpdateMutex; +extern HNETLIBCONN hNetlibHttp; +extern HANDLE hHookWeatherUpdated, hHookWeatherError, hTBButton, hUpdateMutex; extern UINT_PTR timerId; extern HGENMENU hMwinMenu; diff --git a/plugins/Weather/src/weather_http.cpp b/plugins/Weather/src/weather_http.cpp index cdc9656082..e1dde203ea 100644 --- a/plugins/Weather/src/weather_http.cpp +++ b/plugins/Weather/src/weather_http.cpp @@ -26,7 +26,7 @@ from the web using netlib #include "stdafx.h" HNETLIBUSER hNetlibUser; -HANDLE hNetlibHttp; +HNETLIBCONN hNetlibHttp; static int findHeader(const NETLIBHTTPREQUEST *nlhrReply, const char *hdr) { -- cgit v1.2.3