socket_common: small simplification in read() calculation
commit9ef18521688bb008e173bfcca57f4abcd012205f
authorEric Wong <normalperson@yhbt.net>
Tue, 6 Dec 2011 20:54:09 +0000 (6 20:54 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 6 Dec 2011 20:55:26 +0000 (6 12:55 -0800)
treeedc7c883205092ad4fadfbd9386eb5323246c69e
parentbafa6f41dbfda371e248656e50441bc7f6503826
socket_common: small simplification in read() calculation

Minor cleanup, one less un-optimized method dispatch.
lib/mogilefs/socket_common.rb