[GRASS-SVN] r68528 - grass/branches/releasebranch_7_0/lib/proj

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 28 02:31:31 PDT 2016


Author: neteler
Date: 2016-05-28 02:31:31 -0700 (Sat, 28 May 2016)
New Revision: 68528

Modified:
   grass/branches/releasebranch_7_0/lib/proj/datum.c
Log:
libproj: fix debug msg

Modified: grass/branches/releasebranch_7_0/lib/proj/datum.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/proj/datum.c	2016-05-28 09:31:02 UTC (rev 68527)
+++ grass/branches/releasebranch_7_0/lib/proj/datum.c	2016-05-28 09:31:31 UTC (rev 68528)
@@ -177,7 +177,7 @@
 
     if (NULL != G_find_key_value("datum", projinfo)) {
 	*datumname = G_store(G_find_key_value("datum", projinfo));
-	G_debug(3, "GPJ__get_datum_params: datumname: <%s>", (char *)datumname);
+	G_debug(3, "GPJ__get_datum_params: datumname: <%s>", G_find_key_value("datum", projinfo));
 	returnval = 1;
     }
     else
@@ -185,7 +185,7 @@
 
     if (G_find_key_value("datumparams", projinfo) != NULL) {
 	*params = G_store(G_find_key_value("datumparams", projinfo));
-	G_debug(3, "GPJ__get_datum_params: datumparams: <%s>", (char *)params);
+	G_debug(3, "GPJ__get_datum_params: datumparams: <%s>", G_find_key_value("datumparams", projinfo));
 	returnval = 2;
     }
     else if (G_find_key_value("nadgrids", projinfo) != NULL) {



More information about the grass-commit mailing list