From 0e49561bb74f78e896239c864b27fb975d948ddc Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 17 Dec 2019 16:15:05 -0600 Subject: [PATCH] treewide: Use l_debug with at least one argument By convention we should be passing at least an empty string to make it clearer that no additional debug info is being printed --- src/eap-peap.c | 2 +- src/netconfig.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eap-peap.c b/src/eap-peap.c index ee71514a..273a206f 100644 --- a/src/eap-peap.c +++ b/src/eap-peap.c @@ -170,7 +170,7 @@ static int eap_extensions_handle_cryptobinding_tlv(struct eap_state *eap, uint8_t buf[61]; uint8_t imck[60]; - l_debug(); + l_debug(""); if (tlv_value_len != cryptobinding_val_len) return -EBADMSG; diff --git a/src/netconfig.c b/src/netconfig.c index 8d493496..327244f9 100644 --- a/src/netconfig.c +++ b/src/netconfig.c @@ -1179,7 +1179,7 @@ void netconfig_destroy(struct netconfig *netconfig) if (!netconfig_list) return; - l_debug(); + l_debug(""); l_queue_remove(netconfig_list, netconfig);