From: Sandro Santilli Date: Tue, 6 Sep 2005 08:28:05 +0000 (+0000) Subject: looser BOX3D parser X-Git-Tag: pgis_1_1_0~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08b2c21813882af252513de21da6479160b7b014;p=postgis looser BOX3D parser git-svn-id: http://svn.osgeo.org/postgis/trunk@1887 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/lwgeom_box3d.c b/lwgeom/lwgeom_box3d.c index c320e6b6c..b6f7cfbe5 100644 --- a/lwgeom/lwgeom_box3d.c +++ b/lwgeom/lwgeom_box3d.c @@ -70,12 +70,12 @@ Datum BOX3D_in(PG_FUNCTION_ARGS) PG_RETURN_NULL(); } - nitems = sscanf(str,"BOX3D(%le %le %le,%le %le %le)", + nitems = sscanf(str,"BOX3D(%le %le %le ,%le %le %le)", &box->xmin, &box->ymin, &box->zmin, &box->xmax, &box->ymax, &box->zmax); if (nitems != 6 ) { - nitems = sscanf(str,"BOX3D(%le %le,%le %le)", + nitems = sscanf(str,"BOX3D(%le %le ,%le %le)", &box->xmin, &box->ymin, &box->xmax, &box->ymax); if (nitems != 4) {