gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 79/222: vauth: The parameter 'status' must be surrounded by pare


From: gnunet
Subject: [gnurl] 79/222: vauth: The parameter 'status' must be surrounded by parentheses
Date: Thu, 07 Nov 2019 00:09:35 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 89d972f24cbfab93d3b9be69417d1ea58e7024af
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Sep 23 10:48:06 2019 +0200

    vauth: The parameter 'status' must be surrounded by parentheses
    
    PVS-Studio warning
    Fixes #4402
---
 lib/vauth/vauth.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h
index 73bd25ed5..a1a557d2a 100644
--- a/lib/vauth/vauth.h
+++ b/lib/vauth/vauth.h
@@ -43,7 +43,7 @@ struct negotiatedata;
 #endif
 
 #if defined(USE_WINDOWS_SSPI)
-#define GSS_ERROR(status) (status & 0x80000000)
+#define GSS_ERROR(status) ((status) & 0x80000000)
 #endif
 
 /* This is used to build a SPN string */

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]