From bf515d3d65f681b737a1d8fc41cfb3382b6d867c Mon Sep 17 00:00:00 2001 From: Nikhil Chandru Rao Date: Wed, 19 Jul 2006 16:27:54 +0000 Subject: [PATCH] Minor edit in net/udp.c --- src/net/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/udp.c b/src/net/udp.c index 0fca99a4..584a0cb9 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -114,7 +114,7 @@ int udp_buf_alloc ( struct udp_connection *conn, size_t len ) { * callback. The callback may use the buffer space */ int udp_senddata ( struct udp_connection *conn ) { - conn->tx_pkb = pkb_alloc ( UDP_MAX_TXPKB ); + conn->tx_pkb = alloc_pkb ( UDP_MAX_TXPKB ); if ( conn->tx_pkb == NULL ) { DBG ( "Error allocating packet buffer of length %d\n", UDP_MAX_TXPKB );