Skip to content

ESP8266Webserver warning on string concat #4354

Closed
@Sparatutto

Description

@Sparatutto

Recently I have updated the library as you suggested me with the GIT and I have a warning on a string concatenation.
Second I see new iwIp variant names and not sure what they are.
One is for memory saving and the second for bandwidth. Not sure the meaning of this second.

I'm compiling with the warning and I did test both iwip.
No difference with the two version and no issues with the warning.

Hardware

image

Description

I think + ':auth:' should be with "" instead.

Sketch


### Debug Messages

:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\libraries\ESP8266WebServer\src\ESP8266WebServer.cpp:198:93: warning: character constant too long for its type [enabled by default]

     md5.add(_H1 + FPSTR(colon) + _nonce + FPSTR(colon) + _nc + FPSTR(colon) + _cnonce + ':auth:' + _H2);

                                                                                         ^


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions