Skip to content

Commit 219355a

Browse files
committed
Fixed typo
1 parent 0b87d79 commit 219355a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Here is an async HTTP server built with just the event loop.
3939
fclose($conn);
4040
$loop->removeStream($conn);
4141
} else {
42-
$data = substr($data, 0, $swritten);
42+
$data = substr($data, 0, $written);
4343
}
4444
});
4545
});

0 commit comments

Comments
 (0)