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

Comparing projects/libstatgrab/examples/network_traffic.c (file contents):
Revision 1.3 by tdb, Sun Aug 24 20:24:09 2003 UTC vs.
Revision 1.4 by ats, Fri Nov 7 18:43:56 2003 UTC

# Line 51 | Line 51 | int main(int argc, char **argv){
51          int num_network_stats;
52  
53          /* Parse command line options */
54 <        while ((c = getopt(argc, argv, "d:bkm")) != EOF){
54 >        while ((c = getopt(argc, argv, "d:bkm")) != -1){
55                  switch (c){
56                          case 'd':
57                                  delay = atoi(optarg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines