Bugfix: q->buf was not tested for NULL, as it should be. Fix by Simon Duquennoy.
Bugfix: q->buf was not tested for NULL, as it should be. Fix by Simon Duquennoy.

MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,bluerover/6lbr,MohamedSeliem/contiki,MohamedSeliem/contiki,arurke/contiki,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,bluerover/6lbr