summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/GmailNotifier/src/check.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/GmailNotifier/src/check.cpp b/plugins/GmailNotifier/src/check.cpp
index 9a74b69765..5a5e2cc4fc 100644
--- a/plugins/GmailNotifier/src/check.cpp
+++ b/plugins/GmailNotifier/src/check.cpp
@@ -112,6 +112,8 @@ void CheckMailInbox(Account *curAcc)
nlr.cbSize = sizeof(nlr);
nlr.szUrl = szUrl.GetBuffer();
nlr.requestType = REQUEST_GET;
+ nlr.headers = headers;
+ nlr.headersCount = _countof(headers);
NETLIBHTTPREQUEST *nlu = Netlib_HttpTransaction(hNetlibUser, &nlr);
if (nlu == nullptr) {