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

Comparing projects/libstatgrab/src/libstatgrab/network_stats.c (file contents):
Revision 1.11 by tdb, Sat Mar 29 18:51:13 2003 UTC vs.
Revision 1.12 by pajs, Mon Mar 31 11:30:54 2003 UTC

# Line 90 | Line 90 | network_stat_t *get_network_stats(int *entries){
90  
91   #ifdef LINUX
92          FILE *f;
93 <        /* Horrible big enough, but it should be quite easily */
93 >        /* Horrible big enough, but it should be easily big enough */
94          char line[8096];
95          regex_t regex;
96          regmatch_t line_match[4];
# Line 183 | Line 183 | network_stat_t *get_network_stats(int *entries){
183  
184                  interfaces++;
185          }
186 +        fclose(f);
187  
188   #endif
189          *entries=interfaces;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines