From e159cc5e9b879a42b2f89405f909393f1aa1d65e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 18 Nov 2011 22:07:30 +0200 Subject: Use NULL instead of 0 for pointers Signed-hostap: Jouni Malinen --- src/utils/wpa_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/wpa_debug.h b/src/utils/wpa_debug.h index ae36afe..64ada57 100644 --- a/src/utils/wpa_debug.h +++ b/src/utils/wpa_debug.h @@ -136,7 +136,7 @@ void wpa_hexdump_key(int level, const char *title, const u8 *buf, size_t len); static inline void wpa_hexdump_buf_key(int level, const char *title, const struct wpabuf *buf) { - wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : 0, + wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL, buf ? wpabuf_len(buf) : 0); } -- cgit v1.1