We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8048f02 commit 8328585Copy full SHA for 8328585
src/wasm/mod.rs
@@ -182,10 +182,10 @@ impl WasmManager {
182
if result >= 0 {
183
nwritten_bytes += result as i32;
184
info!("nwritten_bytes = {}, len = {}", nwritten_bytes, len);
185
- /*if result >= len.try_into().unwrap() {
+ if result < len.try_into().unwrap() {
186
info!("break");
187
break;
188
- }*/
+ }
189
} else {
190
return (-result).try_into().unwrap();
191
}
0 commit comments