Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ jobs:
- if: type = push
compiler: gcc
env: RUN_TEST=coverage
- os: osx
osx_image: xcode10.3
env: RUN_TEST=mqtt NETWORK_STACK=mbedtls
# Cache Homebrew for faster macOS builds.
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
- os: windows
env: RUN_TEST=mqtt NETWORK_STACK=mbedtls
compiler: msvc

# Install dependencies.
install:
Expand Down
2 changes: 2 additions & 0 deletions libraries/standard/mqtt/src/iot_mqtt_validate.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ bool _IotMqtt_ValidateConnect( const IotMqttConnectInfo_t * pConnectInfo )
"the maximum supported length of %hu.",
pConnectInfo->clientIdentifierLength,
maxClientIdLength );

IOT_SET_AND_GOTO_CLEANUP( false );
}
}
else
Expand Down