summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gclue-wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gclue-wifi.c b/src/gclue-wifi.c
index 3cdc6e5..09a8379 100644
--- a/src/gclue-wifi.c
+++ b/src/gclue-wifi.c
@@ -362,7 +362,7 @@ on_bss_proxy_ready (GObject *source_object,
if (wpa_bss_get_signal (bss) <= -90) {
const char *path;
- char bssid[BSSID_STR_LEN] = { 0 };
+ char bssid[BSSID_STR_LEN + 1] = { 0 };
get_bssid_from_bss (bss, bssid);
g_debug ("WiFi AP '%s' has very low strength (%u dBm)"