Skip to content

Commit 6b42e6b

Browse files
committed
Re-apply fixes brson made.
1 parent 3d76922 commit 6b42e6b

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
@@ -117,7 +117,7 @@ fn test_connect() {
117117
connect(thread, 0u32, "74.125.224.146", chan);
118118
alt comm::recv(port) {
119119
connected(cd) {
120-
close_connection(thread, cd);
120+
close_connection(thread, 0u32);
121121
}
122122
}
123123
join_thread(thread);
@@ -134,10 +134,10 @@ fn test_http() {
134134
connect(thread, 0u32, "74.125.224.146", chan);
135135
alt comm::recv(port) {
136136
connected(cd) {
137-
write(thread, cd, str::bytes("GET / HTTP/1.0\n\n"), chan);
137+
write(thread, 0u32, str::bytes("GET / HTTP/1.0\n\n"), chan);
138138
alt comm::recv(port) {
139139
wrote(cd) {
140-
read_start(thread, cd, chan);
140+
read_start(thread, 0u32, chan);
141141
let keep_going = true;
142142
while keep_going {
143143
alt comm::recv(port) {
@@ -157,7 +157,7 @@ fn test_http() {
157157
}
158158
}
159159
}
160-
close_connection(thread, cd);
160+
close_connection(thread, 0u32);
161161
}
162162
}
163163
}

0 commit comments

Comments
 (0)