Fix removing destinations when it's not the last or only destination...
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ static inline void uc_log_remove_dest_unlocked(struct uc_log_destination *dest)
|
||||
|
||||
//check that it's not already removed
|
||||
SLIST_FOREACH(it, &destinations, entry) {
|
||||
if(it == dest);
|
||||
if(it == dest)
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user