Changeset 295

Show
Ignore:
Timestamp:
06/15/10 16:03:16 (20 months ago)
Author:
ol
Message:

remove static variable. Related to FastCGI architecture

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/ows/ows_psql.c

    r257 r295  
    479479 
    480480 
    481 static xmlNodePtr ows_psql_recursive_parse_gml(ows * o, xmlNodePtr n) 
     481static xmlNodePtr ows_psql_recursive_parse_gml(ows * o, xmlNodePtr n, xmlNodePtr result) 
    482482{ 
    483483    xmlNodePtr c; 
    484     static xmlNodePtr result=NULL; 
    485484 
    486485    assert(o != NULL); 
     
    514513        if (n->children) 
    515514            for (c = n->children ; c ; c = c->next) 
    516                 if ((result = ows_psql_recursive_parse_gml(o, c))) 
     515                if ((result = ows_psql_recursive_parse_gml(o, c, NULL))) 
    517516                    return result; 
    518517    } 
     
    535534    assert(n != NULL); 
    536535 
    537     g = ows_psql_recursive_parse_gml(o, n); 
     536    g = ows_psql_recursive_parse_gml(o, n, NULL); 
    538537    if (!g) return NULL;    /* No Geometry founded in GML doc */ 
    539538