File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ fn test_connect() {
117
117
connect ( thread, 0u32 , "74.125.224.146" , chan) ;
118
118
alt comm:: recv ( port) {
119
119
connected ( cd) {
120
- close_connection ( thread, cd ) ;
120
+ close_connection ( thread, 0u32 ) ;
121
121
}
122
122
}
123
123
join_thread ( thread) ;
@@ -134,10 +134,10 @@ fn test_http() {
134
134
connect ( thread, 0u32 , "74.125.224.146" , chan) ;
135
135
alt comm:: recv ( port) {
136
136
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) ;
138
138
alt comm:: recv ( port) {
139
139
wrote ( cd) {
140
- read_start ( thread, cd , chan) ;
140
+ read_start ( thread, 0u32 , chan) ;
141
141
let keep_going = true ;
142
142
while keep_going {
143
143
alt comm:: recv ( port) {
@@ -157,7 +157,7 @@ fn test_http() {
157
157
}
158
158
}
159
159
}
160
- close_connection ( thread, cd ) ;
160
+ close_connection ( thread, 0u32 ) ;
161
161
}
162
162
}
163
163
}
You can’t perform that action at this time.
0 commit comments