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 @@ -106,7 +106,7 @@ fn test_connect() {
106
106
connect ( thread, 0u32 , "74.125.224.146" , chan) ;
107
107
alt comm:: recv ( port) {
108
108
connected ( cd) {
109
- close_connection ( thread, cd ) ;
109
+ close_connection ( thread, 0u32 ) ;
110
110
}
111
111
}
112
112
join_thread ( thread) ;
@@ -123,10 +123,10 @@ fn test_http() {
123
123
connect ( thread, 0u32 , "74.125.224.146" , chan) ;
124
124
alt comm:: recv ( port) {
125
125
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) ;
127
127
alt comm:: recv ( port) {
128
128
wrote ( cd) {
129
- read_start ( thread, cd , chan) ;
129
+ read_start ( thread, 0u32 , chan) ;
130
130
let keep_going = true ;
131
131
while keep_going {
132
132
alt comm:: recv ( port) {
@@ -146,7 +146,7 @@ fn test_http() {
146
146
}
147
147
}
148
148
}
149
- close_connection ( thread, cd ) ;
149
+ close_connection ( thread, 0u32 ) ;
150
150
}
151
151
}
152
152
}
You can’t perform that action at this time.
0 commit comments