[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 09/10] virobject: Remove the bogus ! from call to virObjectInitialize()



On 01/17/13 20:17, John Ferlan wrote:
---
  src/util/virobject.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/virobject.c b/src/util/virobject.c
index 838b5cd..7f08a11 100644
--- a/src/util/virobject.c
+++ b/src/util/virobject.c
@@ -74,7 +74,7 @@ VIR_ONCE_GLOBAL_INIT(virObject);
   */
  virClassPtr virClassForObject(void)
  {
-    if (!virObjectInitialize() < 0)
+    if (virObjectInitialize() < 0)

Funny bug :) either of those works, but not together.

ACK

Peter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]