Changeset 403 for trunk/zoo-project/zoo-kernel/service_internal.c
- Timestamp:
- Mar 27, 2013, 9:32:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal.c
r393 r403 1215 1215 nc = xmlNewNode(ns, BAD_CAST "Process"); 1216 1216 map* tmp2=getMap(serv->content,"processVersion"); 1217 1218 1217 if(tmp2!=NULL) 1219 1218 xmlNewNsProp(nc,ns,BAD_CAST "processVersion",BAD_CAST tmp2->value); 1220 1219 1221 1220 printDescription(nc,ns_ows,serv->name,serv->content); 1222 //fflush(stderr);1223 1221 1224 1222 xmlAddChild(n,nc); … … 1339 1337 scursor=getElements(serv->outputs,mcursor->name); 1340 1338 if(scursor!=NULL){ 1341 if(testResponse==NULL )1339 if(testResponse==NULL || tmp0==NULL) 1342 1340 printIOType(doc,nc,ns,ns_ows,ns_xlink,scursor,mcursor,"Output"); 1343 1341 else 1344 if( strncmp(tmp0->value,"true",4)==0)1342 if(tmp0!=NULL && strncmp(tmp0->value,"true",4)==0) 1345 1343 printIOType(doc,nc,ns,ns_ows,ns_xlink,scursor,mcursor,"Output"); 1346 1344 }
Note: See TracChangeset
for help on using the changeset viewer.