diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-04-29 10:44:44 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-04-29 10:44:44 +0200 |
commit | 43b563fabd2d86161677fd2edd83ff1a9f1625e3 (patch) | |
tree | fb52448529a250f10eb37711b6f38d0b09fde5f4 /smbutil.c | |
parent | ca89de66107d7fed50eac1f9beb0f16655c8491d (diff) | |
download | fetchmail-43b563fabd2d86161677fd2edd83ff1a9f1625e3.tar.gz fetchmail-43b563fabd2d86161677fd2edd83ff1a9f1625e3.tar.bz2 fetchmail-43b563fabd2d86161677fd2edd83ff1a9f1625e3.zip |
Fix two warning: the address of * will always evaluate as 'true'.
Diffstat (limited to 'smbutil.c')
-rw-r--r-- | smbutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ char versionString[] ="libntlm version 0.21"; #define AddBytes(ptr, header, buf, count) \ { \ -if (buf && count) \ +if (buf != NULL && count != 0) \ { \ SSVAL(&ptr->header.len,0,count); \ SSVAL(&ptr->header.maxlen,0,count); \ |