Renamed rimebuf_hdrextend() to rimebuf_hdralloc()
This commit is contained in:
parent
54228ae6e4
commit
013701f50c
13 changed files with 27 additions and 27 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: ibc.c,v 1.6 2007/03/20 12:28:13 adamdunkels Exp $
|
||||
* $Id: ibc.c,v 1.7 2007/03/23 10:46:35 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -81,7 +81,7 @@ int
|
|||
ibc_send(struct ibc_conn *c)
|
||||
{
|
||||
DEBUGF(1, "%d: ibc_send\n", rimeaddr_node_addr.u16);
|
||||
if(rimebuf_hdrextend(sizeof(struct ibc_hdr))) {
|
||||
if(rimebuf_hdralloc(sizeof(struct ibc_hdr))) {
|
||||
struct ibc_hdr *hdr = rimebuf_hdrptr();
|
||||
rimeaddr_copy(&hdr->sender, &rimeaddr_node_addr);
|
||||
return abc_send(&c->c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue