Changeset 725 for trunk/zoo-project/zoo-kernel/caching.c
- Timestamp:
- Jul 2, 2015, 6:10:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/caching.c
r695 r725 215 215 fcontent=(char*)malloc((hInternet->ihandle[index].nDataLen+1)*sizeof(char)); 216 216 if(fcontent == NULL){ 217 return errorException(*m, _("Unable to allocate memory ."), "InternalError",NULL);217 return errorException(*m, _("Unable to allocate memory"), "InternalError",NULL); 218 218 } 219 219 size_t dwRead; … … 233 233 tmpMap->value=(char*)malloc((fsize+1)*sizeof(char)); 234 234 if(tmpMap->value==NULL){ 235 return errorException(*m, _("Unable to allocate memory ."), "InternalError",NULL);235 return errorException(*m, _("Unable to allocate memory"), "InternalError",NULL); 236 236 } 237 237 memcpy(tmpMap->value,fcontent,(fsize+1)*sizeof(char)); … … 354 354 tmpMap->value=(char*)malloc((fsize+1)*sizeof(char)); 355 355 if(tmpMap->value==NULL) 356 return errorException(*m, _("Unable to allocate memory ."), "InternalError",NULL);356 return errorException(*m, _("Unable to allocate memory"), "InternalError",NULL); 357 357 memcpy(tmpMap->value,fcontent,(fsize+1)*sizeof(char)); 358 358
Note: See TracChangeset
for help on using the changeset viewer.