summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/src/weather_update.cpp')
-rw-r--r--protocols/Weather/src/weather_update.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Weather/src/weather_update.cpp b/protocols/Weather/src/weather_update.cpp
index ae875de91f..54fe72a5cb 100644
--- a/protocols/Weather/src/weather_update.cpp
+++ b/protocols/Weather/src/weather_update.cpp
@@ -242,7 +242,7 @@ MCONTACT UpdateGetFirst()
WaitForSingleObject(hUpdateMutex, INFINITE);
if (UpdateListHead != nullptr) {
- UPDATELIST* Item = UpdateListHead;
+ UPDATELIST *Item = UpdateListHead;
hContact = Item->hContact;
UpdateListHead = Item->next;
@@ -378,7 +378,7 @@ int GetWeatherData(MCONTACT hContact)
GetStationID(hContact, id, _countof(id));
// test ID format
- wchar_t* szInfo = wcschr(id, '/');
+ wchar_t *szInfo = wcschr(id, '/');
if (szInfo == nullptr)
return INVALID_ID_FORMAT;
@@ -426,7 +426,7 @@ int GetWeatherData(MCONTACT hContact)
continue;
// download the html file from the internet
- wchar_t* szData = nullptr;
+ wchar_t *szData = nullptr;
int retval = InternetDownloadFile(loc, Data->Cookie, Data->UserAgent, &szData);
if (retval != 0) {
mir_free(szData);
@@ -517,7 +517,7 @@ int GetWeatherData(MCONTACT hContact)
}
// generate the strings
- wchar_t* end = wcsstr(DataValue, Item->Item.Break);
+ wchar_t *end = wcsstr(DataValue, Item->Item.Break);
if (end == nullptr) {
DataValue[0] = 0;
break; // exit if break string is not found