[postgis-tickets] r15967 - Fix function names in error messages

Paul Ramsey pramsey at cleverelephant.ca
Wed Oct 11 08:05:27 PDT 2017


Author: pramsey
Date: 2017-10-11 08:05:27 -0700 (Wed, 11 Oct 2017)
New Revision: 15967

Modified:
   trunk/liblwgeom/lwgeom_api.c
Log:
Fix function names in error messages



Modified: trunk/liblwgeom/lwgeom_api.c
===================================================================
--- trunk/liblwgeom/lwgeom_api.c	2017-10-11 14:06:07 UTC (rev 15966)
+++ trunk/liblwgeom/lwgeom_api.c	2017-10-11 15:05:27 UTC (rev 15967)
@@ -19,6 +19,7 @@
  **********************************************************************
  *
  * Copyright 2001-2006 Refractions Research Inc.
+ * Copyright 2017 Darafei Praliaskouski <me at komzpa.net>
  *
  **********************************************************************/
 
@@ -366,7 +367,7 @@
 
 	if ( (n<0) || (n>=pa->npoints))
 	{
-		lwerror("getPoint2D_const_p: point offset out of range");
+		lwerror("getPoint2d_cp: point offset out of range");
 		return 0; /*error */
 	}
 
@@ -401,13 +402,13 @@
 
 	if ( ! (FLAGS_GET_Z(pa->flags) && FLAGS_GET_Z(pa->flags)) )
 	{
-		lwerror("getPoint3dz_cp: no Z and M coordinates in point array");
+		lwerror("getPoint4d_cp: no Z and M coordinates in point array");
 		return 0; /*error */
 	}
 
 	if ( (n<0) || (n>=pa->npoints))
 	{
-		lwerror("getPoint3dz_cp: point offset out of range");
+		lwerror("getPoint4d_cp: point offset out of range");
 		return 0; /*error */
 	}
 



More information about the postgis-tickets mailing list