diff options
| author | Donovan Preston <donovanpreston@gmail.com> | 2012-01-27 15:07:29 -0800 |
|---|---|---|
| committer | Donovan Preston <donovanpreston@gmail.com> | 2012-01-27 15:07:29 -0800 |
| commit | 6b42e6b29818a4d08da65d1a69cc7e6c2c894062 (patch) | |
| tree | e73e83989ed3e5cf893119cfef4485a425a4b898 /src/libstd | |
| parent | 3d76922f973caa358cf803d5539dbfadeb3ca830 (diff) | |
| download | rust-6b42e6b29818a4d08da65d1a69cc7e6c2c894062.tar.gz rust-6b42e6b29818a4d08da65d1a69cc7e6c2c894062.zip | |
Re-apply fixes brson made.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/uvtmp.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/uvtmp.rs b/src/libstd/uvtmp.rs index e1d155e7c16..b14c99eaea5 100644 --- a/src/libstd/uvtmp.rs +++ b/src/libstd/uvtmp.rs @@ -117,7 +117,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); @@ -134,10 +134,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) { @@ -157,7 +157,7 @@ fn test_http() { } } } - close_connection(thread, cd); + close_connection(thread, 0u32); } } } |
