From 442d938075ae897a0d39e1e5e1edcc54a4fe6516 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Tue, 23 Sep 2008 19:53:12 +0000 Subject: [PATCH] Revert commit 2990: the real bug was that the LWDEBUG statement was incorrect rather than the code - the additional read_int() was causing an off-by-one error when outputting WKB causing several regression tests to fail. git-svn-id: http://svn.osgeo.org/postgis/trunk@2996 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/lwgunparse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/liblwgeom/lwgunparse.c b/liblwgeom/lwgunparse.c index f0687ddaf..73e06d722 100644 --- a/liblwgeom/lwgunparse.c +++ b/liblwgeom/lwgunparse.c @@ -743,8 +743,7 @@ output_wkb_polygon_ring_collection(uchar* geom,outwkbfunc func) uchar * output_wkb_polygon_collection(uchar* geom) { - int cnt = read_int(&geom); - LWDEBUGF(2, "output_wkb_polygon_collection: %d iterations loop", cnt); + LWDEBUG(2, "output_wkb_polygon_collection"); return output_wkb_polygon_ring_collection(geom,output_wkb_point); } -- 2.50.1