# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |