Changeset 379 for trunk/zoo-project/zoo-kernel/zoo_service_loader.c
- Timestamp:
- Dec 23, 2012, 11:50:33 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r376 r379 775 775 memset(buff1,0,1024); 776 776 #ifdef DEBUG 777 fprintf(stderr,"\n#######%s\n########\n",buff1);777 printf("\n#######%s\n########\n",buff1); 778 778 #endif 779 779 while ((dp = readdir(dirp)) != NULL) … … 784 784 s1=(service*)calloc(1,SERVICE_SIZE); 785 785 if(s1 == NULL){ 786 dup2(saved_stdout,fileno(stdout)); 786 787 return errorException(m, _("Unable to allocate memory."),"InternalError"); 787 788 } 788 789 #ifdef DEBUG 789 fprintf(stderr,"#################\n%s\n#################\n",buff1);790 printf("#################\n%s\n#################\n",buff1); 790 791 #endif 791 792 t=getServiceFromFile(buff1,&s1); … … 1325 1326 if(!(ltmp!=NULL && strcmp(ltmp->value,"POST")==0) 1326 1327 && CHECK_INET_HANDLE(hInternet)){ 1327 if(loadRemoteFile(m,tmpmaps->content,hInternet,(char*)val) ){1328 if(loadRemoteFile(m,tmpmaps->content,hInternet,(char*)val)!=0){ 1328 1329 freeMaps(&m); 1329 1330 free(m);
Note: See TracChangeset
for help on using the changeset viewer.