Ensures that writes are at least one byte, matching the libevent version. As discussed in http://codereview.chromium.org/55014 .
Ensures that writes are at least one byte, matching the libevent version. As discussed in http://codereview.chromium.org/55014 .

Review URL: http://codereview.chromium.org/56090

git-svn-id: http://src.chromium.org/svn/trunk/src@12871 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 621ee9601c1b86e6c4cb0577ae87202c3d9736f0
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser