aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-18 22:07:30 +0200
committerJouni Malinen <j@w1.fi>2011-11-18 22:07:30 +0200
commite159cc5e9b879a42b2f89405f909393f1aa1d65e (patch)
tree02edc1cfa8cfc1847506b85f81633d4d8cd073a2 /src/utils
parentb5472a450fc1e023a448fc5fc16f7bab93ffbd44 (diff)
downloadexternal_wpa_supplicant_8_ti-e159cc5e9b879a42b2f89405f909393f1aa1d65e.zip
external_wpa_supplicant_8_ti-e159cc5e9b879a42b2f89405f909393f1aa1d65e.tar.gz
external_wpa_supplicant_8_ti-e159cc5e9b879a42b2f89405f909393f1aa1d65e.tar.bz2
Use NULL instead of 0 for pointers
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/wpa_debug.h2
1 files changed, 1 insertions, 1 deletions
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);
}