Changeset 34 for trunk/zoo-services/utils
- Timestamp:
- Oct 1, 2010, 1:41:53 AM (14 years ago)
- Location:
- trunk/zoo-services/utils/status
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-services/utils/status/service.c
r32 r34 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 #include "service.h" 25 26 … … 75 76 }else{ 76 77 char tmp[1024]; 77 snprintf(tmp,1024, "GetStatus was unable to use the tmpPath value set in main.cfg file as directory %s.",tmpTmap->value);78 snprintf(tmp,1024,_ss("GetStatus was unable to use the tmpPath value set in main.cfg file as directory %s."),tmpTmap->value); 78 79 setMapInMaps(conf,"lenv","message",tmp); 79 80 return SERVICE_FAILED; … … 81 82 if(hasFile<0){ 82 83 char tmp[1024]; 83 snprintf(tmp,1024, "GetStatus was unable to find any cache file for Service ID %s.",tmpMap->value);84 snprintf(tmp,1024,_ss("GetStatus was unable to find any cache file for Service ID %s."),tmpMap->value); 84 85 setMapInMaps(conf,"lenv","message",tmp); 85 86 return SERVICE_FAILED; … … 107 108 else{ 108 109 char tmp[1024]; 109 sprintf(tmp, "ZOO GetStatus Service was unable to parse the cache xml file available for the Service ID %s.",tmpMap->value);110 sprintf(tmp,_ss("ZOO GetStatus Service was unable to parse the cache xml file available for the Service ID %s."),tmpMap->value); 110 111 setMapInMaps(conf,"lenv","message",tmp); 111 112 return SERVICE_FAILED;
Note: See TracChangeset
for help on using the changeset viewer.