Changeset 63 for trunk/zoo-kernel/zoo_service_loader.c
- Timestamp:
- Jan 8, 2011, 1:01:25 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/zoo_service_loader.c
r60 r63 27 27 extern "C" int yylex(); 28 28 extern "C" int crlex(); 29 30 29 31 30 extern "C" { … … 472 471 SERVICE_URL=strdup(tmpm->value); 473 472 else 474 SERVICE_URL= DEFAULT_SERVICE_URL;473 SERVICE_URL=strdup(DEFAULT_SERVICE_URL); 475 474 476 475 service* s[100]; … … 1614 1613 * DataInputs and ResponseDocument / RawDataOutput 1615 1614 */ 1616 char *dfv=addDefaultValues(&request_input_real_format,s1->inputs,m, "inputs");1615 char *dfv=addDefaultValues(&request_input_real_format,s1->inputs,m,0); 1617 1616 if(strcmp(dfv,"")!=0){ 1618 1617 char tmps[1024]; … … 1621 1620 addToMap(tmpe,"code","MissingParameterValue"); 1622 1621 printExceptionReportResponse(m,tmpe); 1622 freeService(&s1); 1623 free(s1); 1623 1624 freeMap(&tmpe); 1624 1625 free(tmpe); … … 1626 1627 free(m); 1627 1628 free(REQUEST); 1629 free(SERVICE_URL); 1628 1630 freeMaps(&request_input_real_format); 1629 1631 free(request_input_real_format); … … 1634 1636 return 1; 1635 1637 } 1636 addDefaultValues(&request_output_real_format,s1->outputs,m, "outputs");1638 addDefaultValues(&request_output_real_format,s1->outputs,m,1); 1637 1639 1638 1640 #ifdef DEBUG
Note: See TracChangeset
for help on using the changeset viewer.