diff options
Diffstat (limited to 'plugins/HTTPServer')
-rw-r--r-- | plugins/HTTPServer/src/FileShareNode.h | 2 | ||||
-rw-r--r-- | plugins/HTTPServer/src/HttpUser.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HTTPServer/src/FileShareNode.h b/plugins/HTTPServer/src/FileShareNode.h index 7c40bcced1..032bc34510 100644 --- a/plugins/HTTPServer/src/FileShareNode.h +++ b/plugins/HTTPServer/src/FileShareNode.h @@ -61,7 +61,7 @@ public://, DWORD dwAllowedIP, DWORD dwAllowedMask, int nMaxDownloads ); bool bAddUser(CLShareUser * pclUser);
bool bRemoveUser(CLShareUser * pclUser);
bool bAnyUsers() {
- return pclCurrentUsers != 0;
+ return pclCurrentUsers != nullptr;
}
void CloseAllTransfers();
CLShareUser *pclGetUsers() {
diff --git a/plugins/HTTPServer/src/HttpUser.h b/plugins/HTTPServer/src/HttpUser.h index a5a7b2d24c..f44c9a8e71 100644 --- a/plugins/HTTPServer/src/HttpUser.h +++ b/plugins/HTTPServer/src/HttpUser.h @@ -63,8 +63,8 @@ private: HANDLE hFile;
char *apszParam[eLastParam];
- void SendError(int iErrorCode, const char * pszError, const char * pszDescription = NULL);
- void SendRedir(int iErrorCode, const char * pszError, const char * pszDescription = NULL, const char * pszRedirect = NULL);
+ void SendError(int iErrorCode, const char * pszError, const char * pszDescription = nullptr);
+ void SendRedir(int iErrorCode, const char * pszError, const char * pszDescription = nullptr, const char * pszRedirect = nullptr);
};
#endif
\ No newline at end of file |