Changeset 384 for trunk/zoo-project/zoo-services/utils/status/service.c
- Timestamp:
- Jan 9, 2013, 11:52:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/utils/status/service.c
r348 r384 24 24 25 25 #include "service.h" 26 #ifdef WIN32 27 #include <windows.h> 28 #endif 26 #include "service_internal.h" 29 27 30 28 extern "C" { … … 40 38 41 39 #include <dirent.h> 42 #include "service_internal.h"43 40 44 41 /** … … 76 73 fprintf(stderr,"File : %s searched : %s\n",dp->d_name,tmp); 77 74 #endif 78 if(strstr(dp->d_name, tmp)!=0){75 if(strstr(dp->d_name,"final_")==0 && strstr(dp->d_name,tmp)!=0){ 79 76 sprintf(fileName,"%s/%s",tmpTmap->value,dp->d_name); 80 77 hasFile=1; 78 break; 81 79 } 82 80 } … … 109 107 xmlDocDumpFormatMemory(res, &xmlbuff, &buffersize, 1); 110 108 setMapInMaps(outputs,"Result","value",(char*)xmlbuff); 111 setMapInMaps(outputs,"Result","mimeType","text/xml");112 setMapInMaps(outputs,"Result","encoding","UTF-8");113 109 xmlFree(xmlbuff); 114 110 }
Note: See TracChangeset
for help on using the changeset viewer.