Skip to content
This repository was archived by the owner on May 4, 2018. It is now read-only.

Commit c20bb22

Browse files
committed
Return UV_ENOSYS
1 parent 26827d3 commit c20bb22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/win/stream.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,9 @@ int uv_try_write(uv_stream_t* stream,
189189
return uv_tcp_try_write((uv_tcp_t*) stream, bufs, nbufs);
190190
break;
191191
default:
192-
assert(0);
192+
break;
193193
}
194+
return UV_ENOSYS;
194195
}
195196

196197

0 commit comments

Comments
 (0)