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 David Lechner committed Mar 22, 2023
1 parent bd82429 commit 93f4db4
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 93f4db4

Please sign in to comment.