[riot-notifications] [RIOT] ng_sixlowpan: make lookup in reassembly buffer more efficient (#3806)

Cenk Gündoğan notifications at github.com
Wed Sep 9 23:16:31 CEST 2015


>          /* if there is a free spot: remember it */
> -        if ((res == NULL) && (rbuf[i].pkt == NULL)) {
> -            res = &(rbuf[i]);
> -        }
> +	else{

use `else if` instead

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3806/files#r39097603
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150909/2ec0be1b/attachment.html>


More information about the notifications mailing list