[GRASS-SVN] r71854 - grass/trunk/vector/v.out.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 27 12:10:49 PST 2017


Author: mmetz
Date: 2017-11-27 12:10:49 -0800 (Mon, 27 Nov 2017)
New Revision: 71854

Modified:
   grass/trunk/vector/v.out.ogr/main.c
Log:
v.out.ogr: fix r71848

Modified: grass/trunk/vector/v.out.ogr/main.c
===================================================================
--- grass/trunk/vector/v.out.ogr/main.c	2017-11-27 15:12:43 UTC (rev 71853)
+++ grass/trunk/vector/v.out.ogr/main.c	2017-11-27 20:10:49 UTC (rev 71854)
@@ -470,7 +470,7 @@
     drn = -1;
     for (i = 0; i < OGRGetDriverCount(); i++) {
 	hDriver = OGRGetDriver(i);
-	G_debug(2, "driver %d : %s", i, OGR_Dr_GetName(Ogr_driver));
+	G_debug(2, "driver %d : %s", i, OGR_Dr_GetName(hDriver));
 	/* chg white space to underscore in OGR driver names */
 	sprintf(buf, "%s", OGR_Dr_GetName(hDriver));
 	G_strchg(buf, ' ', '_');



More information about the grass-commit mailing list