Changeset 805 for trunk/zoo-project/zoo-kernel/service.c
- Timestamp:
- Jan 22, 2017, 5:32:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.c
r794 r805 635 635 iotype* getIoTypeFromElement(elements* e,char *name, map* values){ 636 636 elements* cursor=e; 637 if(values!=NULL) 637 if(values!=NULL){ 638 638 while(cursor!=NULL){ 639 639 if(strcasecmp(cursor->name,name)==0 && (cursor->defaults!=NULL || cursor->supported!=NULL)){ … … 651 651 cursor=cursor->next; 652 652 } 653 }else{ 654 while(cursor!=NULL){ 655 if(strcasecmp(cursor->name,name)==0 && cursor->defaults!=NULL){ 656 return cursor->defaults; 657 } 658 cursor=cursor->next; 659 } 660 } 653 661 return NULL; 654 662 }
Note: See TracChangeset
for help on using the changeset viewer.