Skip to content

Commit

Permalink
Fix platform mdns build error (#22559)
Browse files Browse the repository at this point in the history
* Fix platform mdns build error

* Fix typo (missing platfor) in build command
  • Loading branch information
andy31415 authored and pull[bot] committed Sep 13, 2022
1 parent 4acd641 commit 4357576
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/examples-linux-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
linux_standalone:
name: Linux Standalone
timeout-minutes: 70
timeout-minutes: 90

env:
BUILD_TYPE: gn_linux
Expand Down Expand Up @@ -72,6 +72,11 @@ jobs:
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target-glob '*-chip-cert' build"
- name: Build minmdns example with platform dns
timeout-minutes: 10
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target linux-x64-address-resolve-tool-platform-mdns-ipv6only build"
- name: Build example Standalone Echo Client
timeout-minutes: 10
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/platform/Linux/DnssdImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ void MdnsAvahi::HandleBrowse(AvahiServiceBrowser * browser, AvahiIfIndex interfa
switch (event)
{
case AVAHI_BROWSER_FAILURE:
context->mCallback(context->mContext, nullptr, 0, CHIP_ERROR_INTERNAL);
context->mCallback(context->mContext, nullptr, 0, true, CHIP_ERROR_INTERNAL);
avahi_service_browser_free(browser);
chip::Platform::Delete(context);
break;
Expand Down

0 comments on commit 4357576

Please sign in to comment.