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 Jan 26, 2024
1 parent f57f2d4 commit 4139941
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 4139941

Please sign in to comment.