diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-01-16 13:39:58 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-01-16 13:39:58 +0000 |
| commit | 3f1f06c5d12b24c4061e5123acabf72348ff45a2 (patch) | |
| tree | d40487b0f5d3a46c5e1cefe288f9a74b8494d9a7 /appl/cmd/logfile.b | |
| parent | ca1042d3d05e5e9b2b5094b04197c96ec3b34bfe (diff) | |
20080116-1340
Diffstat (limited to 'appl/cmd/logfile.b')
| -rw-r--r-- | appl/cmd/logfile.b | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/cmd/logfile.b b/appl/cmd/logfile.b index 6ec8369e..6a234d23 100644 --- a/appl/cmd/logfile.b +++ b/appl/cmd/logfile.b @@ -87,7 +87,7 @@ logserver(fio: ref Sys->FileIO, bufsize: int) for (;;) alt { <-availchan => availcount++; - (off, count, fid, rc) := <-fio.read => + (nil, count, fid, rc) := <-fio.read => r := readers.get(fid); if (rc == nil) { if (r != nil) @@ -112,7 +112,7 @@ logserver(fio: ref Sys->FileIO, bufsize: int) r.rq = (count, rc) :: r.rq; } - (off, data, fid, wc) := <-fio.write => + (nil, data, nil, wc) := <-fio.write => if (wc == nil) continue; if ((n := buf.put(data)) < len data) |
