diff --git a/ChangeLog b/ChangeLog index 9f07e202ffe90beac79a6be4daae18cd1abf0dfa..6000f409d742258f0fcec7add95bcab87046092f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 17 21:49:39 GMT 2008 Daniel P. Berrange + + * src/remote_internal.c: Fix unreachable return statement + (John Levon) + Wed Dec 17 21:45:39 GMT 2008 Daniel P. Berrange Use correct type for domain events callbacks args (John Levon) diff --git a/src/remote_internal.c b/src/remote_internal.c index 8e747144d56b7fa18b2810ce0e862ce64594faa3..45ecbc295a744f92aac0354e9549c518267392c5 100644 --- a/src/remote_internal.c +++ b/src/remote_internal.c @@ -5090,7 +5090,6 @@ really_read_buf (virConnectPtr conn, struct private_data *priv, VIR_ERR_RPC, _("socket closed unexpectedly")); return -1; } - return err; } else { reread: err = recv (priv->sock, bytes, len, 0); @@ -5106,10 +5105,9 @@ really_read_buf (virConnectPtr conn, struct private_data *priv, VIR_ERR_RPC, _("socket closed unexpectedly")); return -1; } - return err; } - return 0; + return err; } static int