From: Mark Cave-Ayland Date: Tue, 23 Sep 2008 19:53:12 +0000 (+0000) Subject: Revert commit 2990: the real bug was that the LWDEBUG statement was incorrect rather... X-Git-Tag: 1.4.0b1~712 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=442d938075ae897a0d39e1e5e1edcc54a4fe6516;p=postgis 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 --- 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); }