From b85e1918d1bbf8f9e128b08821305f08c0699d46 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 5 Jun 2002 10:27:24 +0000 Subject: Add comments to struct cookie. --- lib/libfetch/http.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/libfetch/http.c') diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 1767080..c0fcc75 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 -- cgit v1.1