#define TIMEOUT 5
-#undef MIN
-#define MIN(x,y) ((x)<(y)?(x):(y))
-
#define REQUEST_DUMP "server.input"
/*****************************************************************************
if(convert == 0) {
/* The former file reading code did this:
b->counter = read(fileno(file), dp->th_data, SEGSIZE); */
- size_t copy_n = MIN(SEGSIZE, test->rcount);
+ size_t copy_n = CURLMIN(SEGSIZE, test->rcount);
memcpy(dp->th_data, test->rptr, copy_n);
/* decrease amount, advance pointer */