Ignore:
Timestamp:
Apr 9, 2015, 6:33:14 PM (9 years ago)
Author:
djay
Message:

Fix issue when adding map with size in a map array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/request_parser.c

    r622 r623  
    292292                  }
    293293                else
    294                   addMapsToMaps (&(*request_output), tmpmaps);
     294                  addMapsToMaps (request_output, tmpmaps);
    295295              }
    296296            freeMaps (&tmpmaps);
     
    403403            *request_output = dupMaps (&tmp_output);
    404404          else
    405             addMapsToMaps (&(*request_output), tmp_output);
     405            addMapsToMaps (request_output, tmp_output);
    406406          freeMaps (&tmp_output);
    407407          free (tmp_output);
     
    530530                                {
    531531                                  if (loadRemoteFile
    532                                       (&(*main_conf), &tmpmaps->content, hInternet,
     532                                      (main_conf, &tmpmaps->content, hInternet,
    533533                                       (char *) val) != 0)
    534534                                    {
     
    647647                                      if (btmp != NULL)
    648648                                        {
    649                                           addRequestToQueue(&(*main_conf),hInternet,(char *) btmp->value,false);
     649                                          addRequestToQueue(main_conf,hInternet,(char *) btmp->value,false);
    650650                                          InternetOpenUrl (hInternet,
    651651                                                           btmp->value,
     
    714714                                if (btmp != NULL)
    715715                                  {
    716                                     addRequestToQueue(&(*main_conf),hInternet,(char *) btmp->value,false);
     716                                    addRequestToQueue(main_conf,hInternet,(char *) btmp->value,false);
    717717
    718718                                    res =
     
    939939              }
    940940            else
    941               addMapsToMaps (&(*request_output), tmpmaps);
     941              addMapsToMaps (request_output, tmpmaps);
    942942          }
    943943          freeMaps (&tmpmaps);
     
    10211021            *request_output = dupMaps (&tmpmaps);
    10221022          else
    1023             addMapsToMaps (&(*request_output), tmpmaps);
     1023            addMapsToMaps (request_output, tmpmaps);
    10241024          if (tmpmaps != NULL)
    10251025            {
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png