8000 fix #154 - _fingerprint not declared in this scope · yeahoh/arduinoWebSockets@7c5113f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c5113f

Browse files
authored
fix Links2004#154 - _fingerprint not declared in this scope
fix Links2004#154 - _fingerprint not declared in this scope
1 parent 21e959c commit 7c5113f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/WebSocketsClient.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ WebSocketsClient::~WebSocketsClient() {
4040
void WebSocketsClient::begin(const char *host, uint16_t port, const char * url) {
4141
_host = host;
4242
_port = port;
43+
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
4344
_fingerprint = "";
44-
45+
#endif
46+
4547
_client.num = 0;
4648
_client.status = WSC_NOT_CONNECTED;
4749
_client.tcp = NULL;

0 commit comments

Comments
 (0)
0