summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl/lib/share.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/lib/share.c')
-rw-r--r--Utilities/cmcurl/lib/share.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmcurl/lib/share.c b/Utilities/cmcurl/lib/share.c
index 4f1804dbd..9c43c8f70 100644
--- a/Utilities/cmcurl/lib/share.c
+++ b/Utilities/cmcurl/lib/share.c
@@ -235,7 +235,7 @@ Curl_share_lock(struct Curl_easy *data, curl_lock_data type,
{
struct Curl_share *share = data->share;
- if(share == NULL)
+ if(!share)
return CURLSHE_INVALID;
if(share->specifier & (1<<type)) {
@@ -252,7 +252,7 @@ Curl_share_unlock(struct Curl_easy *data, curl_lock_data type)
{
struct Curl_share *share = data->share;
- if(share == NULL)
+ if(!share)
return CURLSHE_INVALID;
if(share->specifier & (1<<type)) {