[GRASS-SVN] r32981 - grass/trunk/vector/v.extract

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 21 11:33:17 EDT 2008


Author: martinl
Date: 2008-08-21 11:33:16 -0400 (Thu, 21 Aug 2008)
New Revision: 32981

Modified:
   grass/trunk/vector/v.extract/main.c
Log:
benducke: "driver" is of type *dbDriver and cannot be used as a *char
(merge from devbr6, r32980)


Modified: grass/trunk/vector/v.extract/main.c
===================================================================
--- grass/trunk/vector/v.extract/main.c	2008-08-21 15:09:43 UTC (rev 32980)
+++ grass/trunk/vector/v.extract/main.c	2008-08-21 15:33:16 UTC (rev 32981)
@@ -244,7 +244,7 @@
 	db_set_handle(&handle, Fi->database, NULL);
 	if (db_open_database(driver, &handle) != DB_OK)
 	    G_fatal_error(_("Unable to open database <%s> by driver <%s>"),
-			  Fi->database, driver);
+			  Fi->database, Fi->driver);
 
 	ncats =
 	    db_select_int(driver, Fi->table, Fi->key, whereopt->answer,



More information about the grass-commit mailing list