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

Comparing projects/cms/source/ihost/libstatgrab/user_stats.c (file contents):
Revision 1.3 by tdb, Sat May 18 18:15:56 2002 UTC vs.
Revision 1.4 by pajs, Sun May 19 15:07:51 2002 UTC

# Line 71 | Line 71 | char *get_user_stats(){
71                  if(user_tmp!=NULL) free(user_tmp);
72                  nousers++;
73          }
74 +
75 +        if ((fclose(f)) != 0) {
76 +                errf("Failed to close file (%m)");
77 +                return NULL;
78 +        }
79 +
80   #endif
81          if (user_list==NULL) user_list=strdup("");
82          xml_user_data=strf("<users><list>%s</list><count>%d</count></users>",user_list,nousers);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines