[postgis-tickets] r15658 - Per PR#139, change return count slightly in case of max recursion
Paul Ramsey
pramsey at cleverelephant.ca
Thu Sep 7 11:34:12 PDT 2017
Author: pramsey
Date: 2017-09-07 11:34:12 -0700 (Thu, 07 Sep 2017)
New Revision: 15658
Modified:
trunk/liblwgeom/lwgeom.c
Log:
Per PR#139, change return count slightly in case of max recursion
Modified: trunk/liblwgeom/lwgeom.c
===================================================================
--- trunk/liblwgeom/lwgeom.c 2017-09-07 18:24:46 UTC (rev 15657)
+++ trunk/liblwgeom/lwgeom.c 2017-09-07 18:34:12 UTC (rev 15658)
@@ -1991,7 +1991,7 @@
if ( depth > maxdepth )
{
lwcollection_add_lwgeom(col, lwgeom_clone_deep(geom));
- return 0;
+ return 1;
}
nvertices = lwgeom_count_vertices(geom);
More information about the postgis-tickets
mailing list