Diff between 95d9dc6764fc3859af9528c222eef95e843a9cbc and 47821c473102fe527b5447076987f70e9fcf8c72

Changed Files

File Additions Deletions Status
src/advertising.c +1 -1 modified

Full Patch

diff --git a/src/advertising.c b/src/advertising.c
index 1fe371a..15ef44d 100644
--- a/src/advertising.c
+++ b/src/advertising.c
@@ -1055,7 +1055,7 @@ static bool parse_secondary(DBusMessageIter *iter,
 
 	dbus_message_iter_get_basic(iter, &str);
 
-	for (sec = secondary; sec && sec->name; sec++) {
+	for (sec = secondary; sec->name; sec++) {
 		if (strcmp(str, sec->name))
 			continue;