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.1 by pajs, Mon May 13 16:07:53 2002 UTC vs.
Revision 1.2 by pajs, Thu May 16 17:02:43 2002 UTC

# Line 55 | Line 55 | char *get_user_stats(){
55   #endif
56          if (user_list==NULL) user_list=strdup("");
57          xml_user_data=strf("<users><list>%s</list><count>%d</count></users>",user_list,nousers);
58 <        if (user_list==NULL) free(user_list);
58 >        if (user_list!=NULL) free(user_list);
59          return xml_user_data;
60   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines