Changeset 962 for trunk/zoo-project/zoo-kernel/response_print.c
- Timestamp:
- Oct 21, 2020, 6:31:09 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/response_print.c
r956 r962 2719 2719 } 2720 2720 if(res==SERVICE_FAILED){ 2721 map *lenv; 2722 lenv=getMapFromMaps(m,"lenv","message"); 2723 char *tmp0; 2724 if(lenv!=NULL){ 2725 tmp0=(char*)malloc((strlen(lenv->value)+strlen(_("Unable to run the Service. The message returned back by the Service was the following: "))+1)*sizeof(char)); 2726 sprintf(tmp0,_("Unable to run the Service. The message returned back by the Service was the following: %s"),lenv->value); 2727 } 2728 else{ 2729 tmp0=(char*)malloc((strlen(_("Unable to run the Service. No more information was returned back by the Service."))+1)*sizeof(char)); 2730 sprintf(tmp0,"%s",_("Unable to run the Service. No more information was returned back by the Service.")); 2731 } 2721 char* tmp0=produceErrorMessage(m); 2732 2722 errorException(m,tmp0,"InternalError",NULL); 2733 2723 free(tmp0);
Note: See TracChangeset
for help on using the changeset viewer.