[mapserver-commits] r11098 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Mar 6 15:15:49 EST 2011


Author: rouault
Date: 2011-03-06 12:15:49 -0800 (Sun, 06 Mar 2011)
New Revision: 11098

Modified:
   trunk/mapserver/mapogcfiltercommon.c
Log:
fix root cause of failures of wfs_ogr.map

Modified: trunk/mapserver/mapogcfiltercommon.c
===================================================================
--- trunk/mapserver/mapogcfiltercommon.c	2011-03-06 19:58:52 UTC (rev 11097)
+++ trunk/mapserver/mapogcfiltercommon.c	2011-03-06 20:15:49 UTC (rev 11098)
@@ -647,7 +647,7 @@
                     }
                     else
                     {   
-                        bufferSize = 7+strlen(tokens[i])+strlen(pszAttribute)+1;
+                        bufferSize = 8+strlen(tokens[i])+strlen(pszAttribute)+1;
                         pszTmp = (char *)malloc(bufferSize);
                         snprintf(pszTmp, bufferSize, "([%s] == %s)" , pszAttribute, tokens[i]);
                     }



More information about the mapserver-commits mailing list