Changeset 386 for trunk/zoo-project
- Timestamp:
- Jan 10, 2013, 11:51:13 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal.c
r385 r386 1909 1909 sprintf(file_name,"%s/%s_%s_%i.%s",tmp1->value,s->name,tmpI->name,cpid+100000,ext->value); 1910 1910 FILE *ofile=fopen(file_name,"wb"); 1911 if(ofile==NULL) 1912 fprintf(stderr,"Unable to create file on disk implying segfault ! \n"); 1911 if(ofile==NULL){ 1912 char tmpMsg[1024]; 1913 sprintf(tmpMsg,_("Unable to create the file : \"%s\" for storing the final result."),tmpI->name); 1914 map * errormap = createMap("text",tmpMsg); 1915 addToMap(errormap,"code", "InternalError"); 1916 printExceptionReportResponse(m,errormap); 1917 freeMap(&errormap); 1918 free(errormap); 1919 return; 1920 } 1913 1921 map *tmp2=getMapFromMaps(m,"main","tmpUrl"); 1914 1922 map *tmp3=getMapFromMaps(m,"main","serverAddress");
Note: See TracChangeset
for help on using the changeset viewer.