Skip to content

Commit

Permalink
replace undefined variable 'type' with 'service->mType' (project-chip…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-ESP authored and dbahrdt committed Jul 3, 2023
1 parent 2d2746f commit 946aa8e
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 946aa8e

Please sign in to comment.