Skip to content

Commit 751a0a8

Browse files
committed
Fix missing default argument.
1 parent 803279a commit 751a0a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WiFi101WebThingAdapter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ enum ReadState {
6868
class WebThingAdapter {
6969
public:
7070
WebThingAdapter(String _name, uint32_t _ip, uint16_t _port = 80,
71-
bool _disableHostValidation)
71+
bool _disableHostValidation = false)
7272
: name(_name), port(_port), server(_port),
7373
disableHostValidation(_disableHostValidation), mdns(udp) {
7474
ip = "";

0 commit comments

Comments
 (0)