diff mercurial/compat.h @ 36628:70415568ea65

sshpeer: don't read(0) read(0) is essentially a no-op. Let's avoid the function call, overhead, and extra test output by not performing it. Differential Revision: https://phab.mercurial-scm.org/D2581
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 02 Mar 2018 22:59:12 -0500
parents f4433f2713d0
children 11ed2eadf937
line wrap: on
line diff