diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-06-05 10:27:24 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-06-05 10:27:24 +0000 |
| commit | d3b03a90069fc9244cead8934a02d66fefd3367e (patch) | |
| tree | dde6099e45e54d0dc237ca415481e0112bbda7a7 /lib/libfetch/http.c | |
| parent | 3f4823c55dee0a148a201cbbdfc8cdda82b3b2b3 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/http.c')
| -rw-r--r-- | lib/libfetch/http.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 17670808fb47..c0fcc753b9f7 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -106,14 +106,14 @@ __FBSDID("$FreeBSD$"); struct cookie { - conn_t *conn; - char *buf; - size_t b_size; - ssize_t b_len; - int b_pos; - int eof; - int error; - size_t chunksize; + conn_t *conn; /* connection */ + char *buf; /* chunk buffer */ + size_t b_size; /* size of chunk buffer */ + ssize_t b_len; /* amount of data currently in buffer */ + int b_pos; /* current read offset in buffer */ + int eof; /* end-of-file flag */ + int error; /* error flag */ + size_t chunksize; /* remaining size of current chunk */ #ifndef NDEBUG size_t total; #endif |
