[libgda] Typo correction



commit 01ce1ac4f2e8216769f4d9447050cdd19ee9a848
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed Apr 20 18:38:52 2011 +0200

    Typo correction

 libgda/gda-server-operation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-server-operation.c b/libgda/gda-server-operation.c
index dba80dc..ed592ec 100644
--- a/libgda/gda-server-operation.c
+++ b/libgda/gda-server-operation.c
@@ -910,7 +910,7 @@ load_xml_spec (GdaServerOperation *op, xmlNodePtr specnode, const gchar *root, G
 			if (prop) {
 				gint tmp;
 				tmp = atoi ((gchar*)prop); /* Flawfinder: ignore */
-				if (i < 0)
+				if (tmp < 0)
 					opnode->d.seq.min_items = 0;
 				else
 					opnode->d.seq.min_items = tmp;



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