collect_send() should return 0 if the packet could not be enqueued to be sent

This commit is contained in:
Niclas Finne 2011-06-07 19:45:41 +02:00
parent dc426d789b
commit 154f971b2b

View file

@ -1452,6 +1452,7 @@ collect_send(struct collect_conn *tc, int rexmits)
rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1]);
printf("%d.%d: drop originated packet: no queuebuf\n",
rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1]);
ret = 0;
}