git is confusing

This commit is contained in:
Akash Mozumdar 2019-06-02 21:44:22 -04:00
commit 02f127e80c

View File

@ -117,7 +117,7 @@ MainWindow::MainWindow(QWidget *parent) :
if (WinHttpSendRequest(request, NULL, 0, NULL, 0, 0, NULL))
{
DWORD bytesRead;
char buffer[1000] = {};
char buffer[2000] = {};
WinHttpReceiveResponse(request, NULL);
WinHttpReadData(request, buffer, 1000, &bytesRead);
if (abs(strstr(buffer, "/tag/") - strstr(buffer, VERSION)) > 10) MESSAGE(UPDATE_AVAILABLE);