Rick Macklem e2c83f74f4 Fix a bug in the userland rpc library, where it would use a
negative return value from write to update its position in
a buffer. The patch, courtesy of Andrey Simonenko, also simplifies
a conditional by removing the "i != cnt" clause, since it is
always true at this point in the code. The bug caused problems
for mountd, when it generated a large reply to an exports RPC
request.

Submitted by:	simon at comsys.ntu-kpi.kiev.ua
MFC after:	2 weeks
2011-04-10 14:11:07 +00:00
..
2011-02-27 01:32:10 +00:00
2011-04-09 14:09:46 +00:00
2010-08-03 17:40:09 +00:00
2010-12-04 08:44:56 +00:00
2010-08-03 17:40:09 +00:00
2010-08-03 17:40:09 +00:00
2011-03-24 16:06:57 +00:00