Skip to content

Commit 21e959c

Browse files
committed
fix #38
1 parent ccbef0f commit 21e959c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebSockets.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ String WebSockets::acceptKey(String clientKey) {
397397
#ifdef ESP8266
398398
sha1(clientKey + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11", &sha1HashBin[0]);
399399
#else
400-
clientKey =+ "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
400+
clientKey += "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
401401
SHA1_CTX ctx;
402402
SHA1Init(&ctx);
403403
SHA1Update(&ctx, (const unsigned char*)clientKey.c_str(), clientKey.length());

0 commit comments

Comments
 (0)