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.50 by ats, Sat Mar 6 22:30:54 2004 UTC vs.
Revision 1.51 by ats, Sat Mar 6 23:03:24 2004 UTC

# Line 237 | Line 237 | network_stat_t *get_network_stats(int *entries){
237          interfaces=0;
238  
239          while((fgets(line, sizeof(line), f)) != NULL){
240 <                if((regexec(&regex, line, 4, line_match, 0))!=0){
240 >                if((regexec(&regex, line, 9, line_match, 0))!=0){
241                          continue;
242                  }
243                  network_stats=network_stat_malloc((interfaces+1), &sizeof_network_stats, network_stats);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines