diff options
author | wtc%google.com <devnull@localhost> | 2009-06-13 13:16:40 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2009-06-13 13:16:40 +0000 |
commit | f506abf5ed6fbc7cf41be38022bea997f35d9462 (patch) | |
tree | c5c2714487d16adf5c8851e9254c307ef6b3ee4c | |
parent | 9a4c7cbab4fe8d8c15ce43bff850d7093c990584 (diff) | |
download | nspr-hg-f506abf5ed6fbc7cf41be38022bea997f35d9462.tar.gz |
Bug 492170: fixed a bug in pt_hpux_sendfile_cont caused by a typo
("iov_len" should be "iov_base"). r=nelson.
Tag: NSPR_4_7_BRANCH
-rw-r--r-- | pr/src/pthreads/ptio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/pthreads/ptio.c b/pr/src/pthreads/ptio.c index bd38d670..a78a62d2 100644 --- a/pr/src/pthreads/ptio.c +++ b/pr/src/pthreads/ptio.c @@ -1018,7 +1018,7 @@ static PRBool pt_hpux_sendfile_cont(pt_Continuation *op, PRInt16 revents) if (count < hdtrl[0].iov_len) { /* header not sent */ - hdtrl[0].iov_base = ((char *) hdtrl[0].iov_len) + count; + hdtrl[0].iov_base = ((char *) hdtrl[0].iov_base) + count; hdtrl[0].iov_len -= count; } else if (count < (hdtrl[0].iov_len + op->arg3.file_spec.nbytes)) { |