Fix typo & tweak variable decl

This commit is contained in:
Daniel P. Berrange 2009-01-28 22:07:36 +00:00
parent 46d1324e47
commit 94d6177982
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Wed Jan 28 22:05:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
* src/remote_internal.c: Fix typo, and tweak variable decl
Wed Jan 28 21:55:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
* src/remote_internal.c: Stop reading data off wire once

View File

@ -6117,14 +6117,13 @@ processCallRecvMsg(virConnectPtr conn, struct private_data *priv,
static int
processCallRecv(virConnectPtr conn, struct private_data *priv,
int in_open) {
int ret;
int in_open)
{
/* Read as much data as is available, until we get
* EGAIN
* EAGAIN
*/
for (;;) {
ret = processCallRecvSome(conn, priv, in_open);
int ret = processCallRecvSome(conn, priv, in_open);
if (ret < 0)
return -1;