diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-27 05:16:37 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-27 05:16:37 +0000 |
commit | 29ffaea1683eb46f15745d5eee0e068ee1dc7953 (patch) | |
tree | 30f354663513152baef19f43f2c6e64b885d2bcc /plugins/HTTPServer/src/HttpUser.cpp | |
parent | 5542cf1738d621565ac71b8d02244234a9865a36 (diff) |
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3789 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HTTPServer/src/HttpUser.cpp')
-rw-r--r-- | plugins/HTTPServer/src/HttpUser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HTTPServer/src/HttpUser.cpp b/plugins/HTTPServer/src/HttpUser.cpp index fc0f24be3f..475765f495 100644 --- a/plugins/HTTPServer/src/HttpUser.cpp +++ b/plugins/HTTPServer/src/HttpUser.cpp @@ -250,7 +250,7 @@ void CLHttpUser::SendError(int iErrorCode, const char * pszError, const char * p "</BODY></HTML>\n"
"\r\n"
"\r\n",
- iErrorCode, pszError, szCurTime, pszVersion, iErrorCode, pszError, pszError, pszDescription, pszVersion);
+ iErrorCode, pszError, szCurTime, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), iErrorCode, pszError, pszError, pszDescription, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM));
Netlib_Send(hConnection, szBuf, dwBytesToWrite, 0);
}
@@ -301,7 +301,7 @@ void CLHttpUser::SendRedir(int iErrorCode, const char * pszError, const char * p "</BODY></HTML>\n"
"\r\n"
"\r\n",
- iErrorCode, pszError, szCurrTime, pszVersion, pszRedirect, iErrorCode, pszError, pszError, pszDescription, pszVersion);
+ iErrorCode, pszError, szCurrTime, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), pszRedirect, iErrorCode, pszError, pszError, pszDescription, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM));
Netlib_Send(hConnection, szBuff, dwBytesToWrite, 0);
}
@@ -618,7 +618,7 @@ bool CLHttpUser::bProcessGetRequest(char * pszRequest, bool bIsGetCommand) { dwBytesToWrite = _snprintf(szBuf, sizeof(szBuf), szHttpPartial ,
szCurTime ,
- pszVersion,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
szETag ,
dwDataToSend ,
pszGetMimeType(pszRealPath),
@@ -640,7 +640,7 @@ bool CLHttpUser::bProcessGetRequest(char * pszRequest, bool bIsGetCommand) { dwBytesToWrite = _snprintf(szBuf, sizeof(szBuf), szHttpOk ,
szCurTime ,
- pszVersion,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
szETag ,
nDataSize ,
pszGetMimeType(pszRealPath),
|