Changeset 364 for trunk/zoo-project/zoo-kernel/service.h
- Timestamp:
- Sep 29, 2012, 3:59:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.h
r362 r364 43 43 #include <string.h> 44 44 45 #ifndef WIN32 45 46 #define bool int 46 47 #define true 1 47 48 #define false -1 49 #endif 48 50 49 51 #define SERVICE_ACCEPTED 0 … … 107 109 fprintf(stderr,"[%s] => [%s] \n",t->name,t->value); 108 110 fflush(stderr); 109 111 }else{ 110 112 fprintf(stderr,"NULL\n"); 111 113 fflush(stderr); … … 124 126 map* tmp=t; 125 127 while(tmp!=NULL){ 128 #ifdef DEBUG 126 129 fprintf(stderr,"%s = %s\n",tmp->name,tmp->value); 130 #endif 127 131 fprintf(file,"%s = %s\n",tmp->name,tmp->value); 128 132 tmp=tmp->next; … … 622 626 map* tmpSize=getMapArray(m,"size",index); 623 627 if(tmpSize!=NULL && strncasecmp(key,"value",5)==0){ 628 #ifdef DEBUG 624 629 fprintf(stderr,"%s\n",tmpSize->value); 630 #endif 625 631 map* ptr=getMapOrFill(m,tmp,""); 626 632 free(ptr->value); … … 640 646 } 641 647 } 642 dumpMap(tmap); 648 #ifdef DEBUG 649 dumpMap(tmap); 650 #endif 643 651 return tmap; 644 652 } … … 676 684 map* tmpVI=getMap(tmp->content,tmpV[i]); 677 685 if(tmpVI!=NULL){ 686 #ifdef DEBUG 678 687 fprintf(stderr,"%s = %s\n",tmpV[i],tmpVI->value); 688 #endif 679 689 if(i<5) 680 690 setMapArray(_cursor->content,tmpV[i],len,tmpVI->value);
Note: See TracChangeset
for help on using the changeset viewer.