Fix:core:Increase route.c:street_get_data() maxcount to 10000 to prevent a crash...
authorrphlx <rphlx@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 26 Jun 2008 17:33:14 +0000 (17:33 +0000)
committerrphlx <rphlx@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 26 Jun 2008 17:33:14 +0000 (17:33 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1169 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/route.c

index 7b58b0a..97688a3 100644 (file)
@@ -1021,7 +1021,7 @@ route_graph_update(struct route *this)
 struct street_data *
 street_get_data (struct item *item)
 {
-       int maxcount=4000;
+       int maxcount=10000;
        struct coord c[maxcount];
        int count=0;
        struct street_data *ret;