A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: tcp/http/httpdate.c
- Revision:
- 92:b4542163f08d
- Parent:
- 61:aad055f1b0d1
- Child:
- 100:ca674129aa0a
--- a/tcp/http/httpdate.c Tue Nov 27 11:18:06 2018 +0000 +++ b/tcp/http/httpdate.c Thu Nov 29 16:52:10 2018 +0000 @@ -1,6 +1,6 @@ #include <stdlib.h> -#include "time.h" +#include "tm.h" #include "http.h" #include "clock.h" @@ -17,6 +17,6 @@ void HttpDateFromDateTime(const char* date, const char *ptime, char* ptext) { struct tm tm; - TimeAsciiDateTimeToTm(date, ptime, &tm); + TmFromAsciiDateTime(date, ptime, &tm); dateFromTm(&tm, ptext); }