Skip to content

Commit

Permalink
replace undefined variable 'type' with 'service->mType' (#25393)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-ESP authored and pull[bot] committed Nov 7, 2023
1 parent 8c30ffe commit 3042149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/ESP32/DnssdImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct ResolveContext : public GenericContext
ResolveContext(DnssdService * service, Inet::InterfaceId ifId, mdns_search_once_t * searchHandle, DnssdResolveCallback cb,
void * cbCtx)
{
Platform::CopyString(mType, type);
Platform::CopyString(mType, service->mType);
Platform::CopyString(mInstanceName, service->mName);
mContextType = ContextType::Resolve;
mProtocol = service->mProtocol;
Expand Down

0 comments on commit 3042149

Please sign in to comment.