Skip to content

Commit

Permalink
const argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
CelliesProjects committed Jul 18, 2019
1 parent 4ee0a81 commit eec465b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservertask.ino
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,6 @@ bool setupMDNS( const char *hostname ) {
return true;
}

static inline __attribute__((always_inline)) bool htmlUnmodified( AsyncWebServerRequest * request, const char * date ) {
static inline __attribute__((always_inline)) bool htmlUnmodified( const AsyncWebServerRequest * request, const char * date ) {
return request->hasHeader( "If-Modified-Since" ) && request->header( "If-Modified-Since" ).equals( date );
}

0 comments on commit eec465b

Please sign in to comment.