825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
|
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";
free(log);
filed_log_entry(log);
return;
}
request = filed_get_http_request(fp, request, options);
if (request == NULL) {
|