Diff

Differences From Artifact [f3c505b766]:

To Artifact [1884ac0577]:


   180    180   		return(-1);
   181    181   	}
   182    182   
   183    183   	return(fd);
   184    184   }
   185    185   
   186    186   /* Log a message */
   187         -//#define FILED_DONT_LOG
   188    187   #ifdef FILED_DONT_LOG
   189    188   #  define filed_logging_thread_init(x) 0
   190    189   #  define filed_log_msg_debug(x, ...) /**/
   191         -#  define filed_log_msg(x) /**/
          190  +#  define filed_log_msg(x, ...) /**/
   192    191   #else
   193    192   #ifdef FILED_DEBUG
   194    193   #  define filed_log_msg_debug(x, ...) { fprintf(stderr, x, __VA_ARGS__); fprintf(stderr, "\n"); fflush(stderr); }
   195    194   #else
   196    195   #  define filed_log_msg_debug(x, ...) /**/
   197    196   #endif
   198    197   
................................................................................
   428    427   	size_t buffer_len, tmpbuffer_len;
   429    428   	off_t range_start, range_end, range_length;
   430    429   	int range_request;
   431    430   	int fd;
   432    431   	int i;
   433    432   
   434    433   	fd = fileno(fp);
          434  +	fd = fd;
   435    435   
   436    436   	range_start = 0;
   437    437   	range_end   = 0;
   438    438   	range_request = 0;
   439    439   	range_length = -1;
   440    440   
   441    441   	buffer = buffer_st->path_b;