Changeset 618 for trunk/zoo-project/zoo-kernel/service_conf.y
- Timestamp:
- Mar 28, 2015, 12:58:00 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_conf.y
r607 r618 20 20 static bool wait_defaults=false; 21 21 static bool wait_supporteds=false; 22 static bool wait_outputs= -1;22 static bool wait_outputs=false; 23 23 static bool wait_data=false; 24 24 static service* my_service=NULL; … … 805 805 dumpElements(current_element); 806 806 #endif 807 if(wait_outputs >0&& current_element!=NULL && current_element->name!=NULL){807 if(wait_outputs && current_element!=NULL && current_element->name!=NULL){ 808 808 if(my_service->outputs==NULL){ 809 809 #ifdef DEBUG_SERVICE_CONF … … 834 834 current_element=NULL; 835 835 } 836 int contentOnly= -1;836 int contentOnly=false; 837 837 if(current_content!=NULL){ 838 838 if(my_service->content==NULL){ 839 839 addMapToMap(&my_service->content,current_content); 840 contentOnly=1; 840 contentOnly=true; 841 wait_maincontent=false; 841 842 } 842 843 freeMap(¤t_content); … … 848 849 dumpService(my_service); 849 850 #endif 850 if( contentOnly<0 && ((wait_outputs<0 && current_data==2 && my_service->outputs==NULL) || my_service==NULL || my_service->name==NULL || my_service->content==NULL)){851 if(wait_maincontent==true || (contentOnly==false && ((!wait_outputs && current_data==2 && my_service->outputs==NULL) || my_service==NULL || my_service->name==NULL || my_service->content==NULL))){ 851 852 setMapInMaps(conf,"lenv","message",srlval.chaine); 852 853 #ifndef WIN32
Note: See TracChangeset
for help on using the changeset viewer.