From e6a1366becbe38d2d3853c8ec09d7e7864a10007 Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Tue, 4 Aug 2015 17:25:21 +0200 Subject: [PATCH] ng_sixlowpan: Fix typo in preprocessor condition for calling pktbuf statistics --- sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c b/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c index d7ae9359bb..3de1083252 100644 --- a/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c +++ b/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c @@ -69,7 +69,7 @@ static void _receive(ng_pktsnip_t *pkt) if (payload == NULL) { DEBUG("6lo: can not get write access on received packet\n"); -#if defined(DEVELHELP) && defined(ENABLE_DEBUG) +#if defined(DEVELHELP) && ENABLE_DEBUG ng_pktbuf_stats(); #endif ng_pktbuf_release(pkt); @@ -95,7 +95,7 @@ static void _receive(ng_pktsnip_t *pkt) if (payload == NULL) { DEBUG("6lo: can not get write access on received packet\n"); -#if defined(DEVELHELP) && defined(ENABLE_DEBUG) +#if defined(DEVELHELP) && ENABLE_DEBUG ng_pktbuf_stats(); #endif ng_pktbuf_release(pkt);