diff options
author | vnugent <public@vaughnnugent.com> | 2024-04-02 13:32:12 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-04-02 13:32:12 -0400 |
commit | 4ca5791ed67b9834bdbd010206b30373e4705e9b (patch) | |
tree | 3dd2cdb2ef9e870e84d23ad0b6a0623893b8bba6 /lib/Net.Compression | |
parent | 9b4036377c52200c6488c98180d69a0e63321f97 (diff) |
fix: Missed ! on null pointer check
Diffstat (limited to 'lib/Net.Compression')
-rw-r--r-- | lib/Net.Compression/vnlib_compress/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net.Compression/vnlib_compress/util.h b/lib/Net.Compression/vnlib_compress/util.h index 16afacf..c29de4b 100644 --- a/lib/Net.Compression/vnlib_compress/util.h +++ b/lib/Net.Compression/vnlib_compress/util.h @@ -73,7 +73,7 @@ #define assert(x) {} #endif -#define CHECK_NULL_PTR(ptr) if(ptr) return ERR_INVALID_PTR; +#define CHECK_NULL_PTR(ptr) if(!ptr) return ERR_INVALID_PTR; #ifdef NATIVE_HEAP_API /* Defined in the NativeHeapApi */ /* |