- Timestamp:
- Oct 27, 2014, 4:47:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/utils/status/service.c
r495 r515 105 105 * Parse Status to extract Status / Message 106 106 */ 107 char *tmpStr= getStatus(atoi(tmpMap->value));107 char *tmpStr=_getStatus(conf,atoi(tmpMap->value)); 108 108 #ifdef DEBUG 109 109 fprintf(stderr,"DEBUG: %s \n",tmpStr); … … 112 112 char *tmpStr1=strdup(tmpStr); 113 113 char *tmpStr0=strdup(strstr(tmpStr,"|")+1); 114 free(tmpStr); 114 115 tmpStr1[strlen(tmpStr1)-strlen(tmpStr0)-1]='\0'; 115 116 char *tmpStrFinal=(char*)malloc((strlen(tmpStr0)+11)*sizeof(char));
Note: See TracChangeset
for help on using the changeset viewer.