Diff

Differences From Artifact [386b3803b7]:

To Artifact [79c614eba1]:


825
826
827
828
829
830
831




832
833
834
835
836
837
838
839
	date_current = filed_format_time(date_current_b, sizeof(date_current_b), time(NULL));

	/* Open socket as ANSI I/O for ease of use */
	fp = fdopen(fd, "w+b");
	if (fp == NULL) {
		close(fd);





		free(log);

		return;
	}

	request = filed_get_http_request(fp, request, options);

	if (request == NULL) {







>
>
>
>
|







825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
	date_current = filed_format_time(date_current_b, sizeof(date_current_b), time(NULL));

	/* Open socket as ANSI I/O for ease of use */
	fp = fdopen(fd, "w+b");
	if (fp == NULL) {
		close(fd);

		log->buffer[0] = '\0';
		log->http_code = -1;
		log->reason = "fdopen_failed";

		filed_log_entry(log);

		return;
	}

	request = filed_get_http_request(fp, request, options);

	if (request == NULL) {