Browse Source

A small but very critical bug.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
7c84b74185
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/udp.c

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

103
 		return -ENOMEM;
103
 		return -ENOMEM;
104
 	}
104
 	}
105
 	pkb_reserve ( conn->tx_pkb, UDP_MAX_HLEN );
105
 	pkb_reserve ( conn->tx_pkb, UDP_MAX_HLEN );
106
-	conn->udp_op->senddata ( conn, conn->tx_pkb, 
106
+	conn->udp_op->senddata ( conn, conn->tx_pkb->data, 
107
 				 pkb_available ( conn->tx_pkb ) );
107
 				 pkb_available ( conn->tx_pkb ) );
108
 	return 0;
108
 	return 0;
109
 }
109
 }

Loading…
Cancel
Save