From 66800925cfc2d83d3d3d8f456215a991eb4d8d23 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Tue, 17 Apr 2018 14:08:59 +0200 Subject: [PATCH] Fix indent in netbiosns.c --- src/apps/netbiosns/netbiosns.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/netbiosns/netbiosns.c b/src/apps/netbiosns/netbiosns.c index bd9315e6..bcb535be 100644 --- a/src/apps/netbiosns/netbiosns.c +++ b/src/apps/netbiosns/netbiosns.c @@ -390,8 +390,8 @@ netbiosns_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t /* buffer to which a response is compiled */ resp = (struct netbios_answer *) q->payload; - /* Init response to zero, especially the statistics fields */ - memset(resp, 0, sizeof(*resp)); + /* Init response to zero, especially the statistics fields */ + memset(resp, 0, sizeof(*resp)); /* copy the query to the response ID */ resp->answer_hdr.trans_id = netbios_hdr->trans_id; @@ -420,8 +420,8 @@ netbiosns_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t /* b-node, unique, active */ resp->answer_name_flags = PP_HTONS(NETB_NFLAG_NAME_IS_ACTIVE); - /* Set responder netif MAC address */ - SMEMCPY(resp->unit_id, ip_current_input_netif()->hwaddr, sizeof(resp->unit_id)); + /* Set responder netif MAC address */ + SMEMCPY(resp->unit_id, ip_current_input_netif()->hwaddr, sizeof(resp->unit_id)); udp_sendto(upcb, q, addr, port); pbuf_free(q);