ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/tools.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/tools.c (file contents):
Revision 1.49 by tdb, Wed Apr 7 14:53:40 2004 UTC vs.
Revision 1.50 by pajs, Wed Apr 7 15:46:34 2004 UTC

# Line 515 | Line 515 | void *sg_realloc(void *ptr, size_t size) {
515          void *tmp = NULL;
516          tmp = realloc(ptr, size);
517          if(tmp == NULL) {
518 <                sg_set_error(SG_ERROR_MALLOC_FAILED, NULL);
518 >                sg_set_error(SG_ERROR_MALLOC, NULL);
519          }
520          return tmp;
521   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines