commit | 1194db24bc05e202e5ee83292880c040a9053b06 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Tue May 31 11:44:25 2022 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Tue May 31 14:31:48 2022 +0200 |
tree | ca4b37a3ac90204690a9a3c15d9b156f4c50db2c | |
parent | cd50e7673f7faba724a346fef3ba646b1b22ad66 [diff] |
MINOR: ncbuf: adjust ncb_data with NCBUF_NULL Replace ncb_blk_is_null() by ncb_is_null() as a prelude to ncb_data(). The result is the same : the function will return 0 if the buffer is uninitialized. However, it is clearer to directly call ncb_is_null() to reflect this. There is no functional change with this commit.