From b3ab2a95ea95d3372454beeb192fd58c32944e54 Mon Sep 17 00:00:00 2001 From: anta999 <antarcticstation@gmail.com> Date: Mon, 3 Jun 2019 16:58:13 +0400 Subject: [PATCH] libdap-server-- --- http_server/http_client/dap_http_client.c | 4 ++-- libdap | 2 +- libdap-server-core | 2 +- libdap-server-udp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/http_server/http_client/dap_http_client.c b/http_server/http_client/dap_http_client.c index 7d20c29..430a741 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 ); - time_to_str_rfc822( buf, sizeof(buf), current_time ); + dap_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 ) { - time_to_str_rfc822( buf, sizeof(buf), cl_ht->out_last_modified ); + dap_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] ) { diff --git a/libdap b/libdap index 1b6cbd3..d37b2aa 160000 --- a/libdap +++ b/libdap @@ -1 +1 @@ -Subproject commit 1b6cbd3934284b71dbafa4d113fd6017e5570217 +Subproject commit d37b2aa26d2a7cc068529db343a87fd728904d33 diff --git a/libdap-server-core b/libdap-server-core index a66ffaa..e5bb9b7 160000 --- a/libdap-server-core +++ b/libdap-server-core @@ -1 +1 @@ -Subproject commit a66ffaa58fd87ea9af2e800e7a1b03c1593ef1a5 +Subproject commit e5bb9b75237cd702c5980b4070da9842d1f101e2 diff --git a/libdap-server-udp b/libdap-server-udp index 0e79b2d..1668210 160000 --- a/libdap-server-udp +++ b/libdap-server-udp @@ -1 +1 @@ -Subproject commit 0e79b2d029516ed1dcbc9b4c6d4bfe5882d3753e +Subproject commit 1668210c08275ec85f8278a80c66b50e7414d61c -- GitLab