diff --git a/sdk/src/connections/network/network.cpp b/sdk/src/connections/network/network.cpp index 36d7565c7..d9114a442 100644 --- a/sdk/src/connections/network/network.cpp +++ b/sdk/src/connections/network/network.cpp @@ -445,7 +445,7 @@ int Network::callback_function(struct lws *wsi, } else { //expect content that is not wrapped in a protobuf message memcpy(rawPayloads[connectionId], static_cast(in), len); - rawPayloads[connectionId] == nullptr; + rawPayloads[connectionId] = nullptr; recv_data_error = 0; Data_Received[connectionId] = true;