Browse Source

Minor edit in net/udp.c

tags/v0.9.3
Nikhil Chandru Rao 18 years ago
parent
commit
bf515d3d65
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/udp.c

+ 1
- 1
src/net/udp.c View File

@@ -114,7 +114,7 @@ int udp_buf_alloc ( struct udp_connection *conn, size_t len ) {
114 114
  * callback. The callback may use the buffer space
115 115
  */
116 116
 int udp_senddata ( struct udp_connection *conn ) {
117
-	conn->tx_pkb = pkb_alloc ( UDP_MAX_TXPKB );
117
+	conn->tx_pkb = alloc_pkb ( UDP_MAX_TXPKB );
118 118
 	if ( conn->tx_pkb == NULL ) {
119 119
 		DBG ( "Error allocating packet buffer of length %d\n",
120 120
 							UDP_MAX_TXPKB );

Loading…
Cancel
Save