Client - Fix to possible infinite loop in ReadLine
authorJohn Hodge <[email protected]>
Tue, 14 Jun 2011 15:42:29 +0000 (23:42 +0800)
committerJohn Hodge <[email protected]>
Tue, 14 Jun 2011 15:42:29 +0000 (23:42 +0800)
commit586e8014f5d6a588f4614831b53c5d8d8efab4d2
treeb26daba722acf725a750e9270c73c2bda2178054
parent5cf5f1c0479d0052d53ea735895a550a0e455287
Client - Fix to possible infinite loop in ReadLine

- If the remote host closes, recv() returns 0, this was not checked
 > Caused 100% CPU on motsugo when un in a backup script
src/client/main.c

UCC git Repository :: git.ucc.asn.au