Skip to content

Commit

Permalink
add missing newlines to debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotterleben committed Jul 19, 2015
1 parent 461bfb4 commit b7e4202
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/net/routing/aodvv2/aodv.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static void *_aodv_receiver_thread(void *arg)

switch (msg.type) {
case NG_NETAPI_MSG_TYPE_RCV:
AODV_DEBUG("received data:");
AODV_DEBUG("received data:\n");
ng_pktsnip_t *pkt = ((ng_pktsnip_t *)msg.content.ptr);
if (pkt->size <= UDP_BUFFER_SIZE) {
memcpy(buf_rcv, pkt->data, pkt->size);
Expand All @@ -398,7 +398,7 @@ static void *_aodv_receiver_thread(void *arg)
msg_reply(&msg, &reply);
break;
default:
AODV_DEBUG("received something unexpected");
AODV_DEBUG("received something unexpected\n");
break;
}
}
Expand Down Expand Up @@ -439,7 +439,7 @@ static void send(ng_ipv6_addr_t addr, uint16_t port, void *data, size_t data_len
}
/* all headers are set, send packet */
if(!ng_netapi_dispatch_send(NG_NETTYPE_UDP, NG_NETREG_DEMUX_CTX_ALL, pkt_with_ip)) {
DEBUG("Error sending packet");
DEBUG("Error sending packet\n");
}
}

Expand Down

0 comments on commit b7e4202

Please sign in to comment.