diff options
| author | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-13 15:03:31 +0100 | 
|---|---|---|
| committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-13 15:07:33 +0100 | 
| commit | a7c24ca48995cf2bf436156302f96b91bf135409 (patch) | |
| tree | 953835509ff1b778833e78fd7b74b05e05e77c84 /plugins/CloudFile/src/cloud_service.cpp | |
| parent | 591ec17b1c99db7f120c22ca9fb20ae05fe78325 (diff) | |
Code modernize ...
* replace 0/NULL with nullptr [using clang-tidy]
Diffstat (limited to 'plugins/CloudFile/src/cloud_service.cpp')
| -rw-r--r-- | plugins/CloudFile/src/cloud_service.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/cloud_service.cpp b/plugins/CloudFile/src/cloud_service.cpp index 3ad83d1e2f..90b84c0590 100644 --- a/plugins/CloudFile/src/cloud_service.cpp +++ b/plugins/CloudFile/src/cloud_service.cpp @@ -84,7 +84,7 @@ void CCloudService::Report(MCONTACT hContact, const wchar_t *data)  char* CCloudService::PreparePath(const char *oldPath, char *newPath)  { -	if (oldPath == NULL) +	if (oldPath == nullptr)  		mir_strcpy(newPath, "");  	else if (*oldPath != '/')  	{ @@ -136,7 +136,7 @@ void CCloudService::HttpResponseToError(NETLIBHTTPREQUEST *response)  void CCloudService::HandleHttpError(NETLIBHTTPREQUEST *response)  { -	if (response == NULL) +	if (response == nullptr)  		throw Exception(HttpStatusToError());  	if (!HTTP_CODE_SUCCESS(response->resultCode))  | 
