X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fauths%2Fauth-spa.c;h=fc363df6fe5119826a21eea5244de5c25abe4842;hb=23f2e90d7982f35e7a94a9df3128c1e574a26770;hp=b396e3892284899190bae587bbd17e25bac89acd;hpb=db3f7b6972f3b003c0413b78afcfbe295ffe0b97;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/auths/auth-spa.c b/src/src/auths/auth-spa.c index b396e3892..fc363df6f 100644 --- a/src/src/auths/auth-spa.c +++ b/src/src/auths/auth-spa.c @@ -1209,7 +1209,7 @@ char versionString[] = "libntlm version 0.21"; #define spa_bytes_add(ptr, header, buf, count) \ { \ -if (buf != NULL && count != 0) /* we hate -Wint-in-bool-contex */ \ +if (buf && (count) != 0) /* we hate -Wint-in-bool-contex */ \ { \ SSVAL(&ptr->header.len,0,count); \ SSVAL(&ptr->header.maxlen,0,count); \