mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
minor whitespace fixes only
This commit is contained in:
parent
dd811bca06
commit
135d506065
@ -199,7 +199,7 @@ igmp_report_groups(struct netif *netif)
|
|||||||
if(group != NULL) {
|
if(group != NULL) {
|
||||||
group = group->next;
|
group = group->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (group != NULL) {
|
while (group != NULL) {
|
||||||
igmp_delaying_member(group, IGMP_JOIN_DELAYING_MEMBER_TMR);
|
igmp_delaying_member(group, IGMP_JOIN_DELAYING_MEMBER_TMR);
|
||||||
group = group->next;
|
group = group->next;
|
||||||
@ -252,7 +252,7 @@ igmp_lookup_group(struct netif *ifp, const ip4_addr_t *addr)
|
|||||||
/* Group already exists. */
|
/* Group already exists. */
|
||||||
return group;
|
return group;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Group doesn't exist yet, create a new one */
|
/* Group doesn't exist yet, create a new one */
|
||||||
group = (struct igmp_group *)memp_malloc(MEMP_IGMP_GROUP);
|
group = (struct igmp_group *)memp_malloc(MEMP_IGMP_GROUP);
|
||||||
if (group != NULL) {
|
if (group != NULL) {
|
||||||
@ -262,7 +262,7 @@ igmp_lookup_group(struct netif *ifp, const ip4_addr_t *addr)
|
|||||||
group->last_reporter_flag = 0;
|
group->last_reporter_flag = 0;
|
||||||
group->use = 0;
|
group->use = 0;
|
||||||
|
|
||||||
/* Ensure allsystems group is always first in list */
|
/* Ensure allsystems group is always first in list */
|
||||||
if (list_head == NULL) {
|
if (list_head == NULL) {
|
||||||
/* this is the first entry in linked list */
|
/* this is the first entry in linked list */
|
||||||
LWIP_ASSERT("igmp_lookup_group: first group must be allsystems",
|
LWIP_ASSERT("igmp_lookup_group: first group must be allsystems",
|
||||||
|
Loading…
Reference in New Issue
Block a user