Skip to content

Commit 335302f

Browse files
committed
std: Fix types in uvtmp tests
1 parent 9e39219 commit 335302f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/uvtmp.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ fn test_connect() {
106106
connect(thread, 0u32, "74.125.224.146", chan);
107107
alt comm::recv(port) {
108108
connected(cd) {
109-
close_connection(thread, cd);
109+
close_connection(thread, 0u32);
110110
}
111111
}
112112
join_thread(thread);
@@ -123,10 +123,10 @@ fn test_http() {
123123
connect(thread, 0u32, "74.125.224.146", chan);
124124
alt comm::recv(port) {
125125
connected(cd) {
126-
write(thread, cd, str::bytes("GET / HTTP/1.0\n\n"), chan);
126+
write(thread, 0u32, str::bytes("GET / HTTP/1.0\n\n"), chan);
127127
alt comm::recv(port) {
128128
wrote(cd) {
129-
read_start(thread, cd, chan);
129+
read_start(thread, 0u32, chan);
130130
let keep_going = true;
131131
while keep_going {
132132
alt comm::recv(port) {
@@ -146,7 +146,7 @@ fn test_http() {
146146
}
147147
}
148148
}
149-
close_connection(thread, cd);
149+
close_connection(thread, 0u32);
150150
}
151151
}
152152
}

0 commit comments

Comments
 (0)