about summary refs log tree commit diff
path: root/src/libstd/uvtmp.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-26 16:19:46 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-26 16:19:46 -0800
commit335302f08dbdffd218cbc9fcbfb650cfa273889b (patch)
tree70841f17f9a98f4d9f3cd5434bec8e0c03dad89f /src/libstd/uvtmp.rs
parent9e39219d9b5466739d12bd60c74c21e3ab2483e7 (diff)
downloadrust-335302f08dbdffd218cbc9fcbfb650cfa273889b.tar.gz
rust-335302f08dbdffd218cbc9fcbfb650cfa273889b.zip
std: Fix types in uvtmp tests
Diffstat (limited to 'src/libstd/uvtmp.rs')
-rw-r--r--src/libstd/uvtmp.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/uvtmp.rs b/src/libstd/uvtmp.rs
index fb73247d51e..fb9df4bfbd3 100644
--- a/src/libstd/uvtmp.rs
+++ b/src/libstd/uvtmp.rs
@@ -106,7 +106,7 @@ fn test_connect() {
     connect(thread, 0u32, "74.125.224.146", chan);
     alt comm::recv(port) {
       connected(cd) {
-        close_connection(thread, cd);
+        close_connection(thread, 0u32);
       }
     }
     join_thread(thread);
@@ -123,10 +123,10 @@ fn test_http() {
     connect(thread, 0u32, "74.125.224.146", chan);
     alt comm::recv(port) {
       connected(cd) {
-        write(thread, cd, str::bytes("GET / HTTP/1.0\n\n"), chan);
+        write(thread, 0u32, str::bytes("GET / HTTP/1.0\n\n"), chan);
         alt comm::recv(port) {
           wrote(cd) {
-            read_start(thread, cd, chan);
+            read_start(thread, 0u32, chan);
             let keep_going = true;
             while keep_going {
                 alt comm::recv(port) {
@@ -146,7 +146,7 @@ fn test_http() {
                   }
                 }
             }
-            close_connection(thread, cd);
+            close_connection(thread, 0u32);
           }
         }
       }