We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a1bba commit 4e1428cCopy full SHA for 4e1428c
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: c94d4cff0314459f93e086b3ef0fd89f3f368f35
+refs/heads/master: 04928ed3f00e82d7d233d2b4d2a63440f098b279
trunk/src/lib/aio.rs
@@ -45,6 +45,9 @@ tag request {
45
type ctx = chan<request>;
46
47
fn ip_to_sbuf(ip: net::ip_addr) -> *u8 {
48
+ // FIXME: This is broken. We're creating a vector, getting a pointer
49
+ // to its buffer, then dropping the vector. On top of that, the vector
50
+ // created by istr::bytes is not null-terminated.
51
vec::to_ptr(istr::bytes(net::format_addr(ip)))
52
}
53
0 commit comments