mirror of
https://github.com/mirror/wget.git
synced 2025-03-14 11:50:18 +08:00
* src/retr.c (fd_read_body): Use MAX instead of max
This commit is contained in:
parent
77929eda1b
commit
af1100f299
@ -254,9 +254,7 @@ fd_read_body (const char *downloaded_filename, int fd, FILE *out, wgint toread,
|
||||
FILE *out2)
|
||||
{
|
||||
int ret = 0;
|
||||
#undef max
|
||||
#define max(a,b) ((a) > (b) ? (a) : (b))
|
||||
int dlbufsize = max (BUFSIZ, 8 * 1024);
|
||||
int dlbufsize = MAX (BUFSIZ, 8 * 1024);
|
||||
char *dlbuf = xmalloc (dlbufsize);
|
||||
|
||||
struct ptimer *timer = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user