From a5022cc15a8767c1c5980b823b9cf50384263621 Mon Sep 17 00:00:00 2001 From: anta999 <antarcticstation@gmail.com> Date: Mon, 3 Jun 2019 16:42:49 +0400 Subject: [PATCH] libdap-server --- http_server/http_client/dap_http_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http_server/http_client/dap_http_client.c b/http_server/http_client/dap_http_client.c index 430a741..7d20c29 100755 --- a/http_server/http_client/dap_http_client.c +++ b/http_server/http_client/dap_http_client.c @@ -599,14 +599,14 @@ void dap_http_client_out_header_generate(dap_http_client_t *cl_ht) { char buf[1024]; time_t current_time = time( NULL ); - dap_time_to_str_rfc822( buf, sizeof(buf), current_time ); + time_to_str_rfc822( buf, sizeof(buf), current_time ); dap_http_header_add( &cl_ht->out_headers,"Date", buf ); if ( cl_ht->reply_status_code == 200 ) { if ( cl_ht->out_last_modified ) { - dap_time_to_str_rfc822( buf, sizeof(buf), cl_ht->out_last_modified ); + time_to_str_rfc822( buf, sizeof(buf), cl_ht->out_last_modified ); dap_http_header_add( &cl_ht->out_headers, "Last-Modified", buf ); } if ( cl_ht->out_content_type[0] ) { -- GitLab