Skip to content

Commit ce4be61

Browse files
authored
fix: add back the warning
1 parent 3d813e1 commit ce4be61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socket.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ void Socket::WarnUnlessImmediateOption(int32_t option) const {
218218

219219
if (immediate.count(option) != 0) return;
220220
if (endpoints == 0 && state == State::Open) return;
221-
// Warn(Env(), "Socket option will not take effect until next connect/bind.");
221+
Warn(Env(), "Socket option will not take effect until next connect/bind.");
222222
}
223223

224224
bool Socket::ValidateOpen() const {

0 commit comments

Comments
 (0)