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.18 by ats, Sun Oct 19 02:03:02 2003 UTC vs.
Revision 1.20 by ats, Wed Nov 12 01:36:19 2003 UTC

# Line 224 | Line 224 | network_stat_t *get_network_stats(int *entries){
224          regfree(&regex);
225  
226   #endif
227 +
228 + #ifdef CYGWIN
229 +        return NULL;
230 + #endif
231 +
232          *entries=interfaces;
233  
234          return network_stats;  
# Line 231 | Line 236 | network_stat_t *get_network_stats(int *entries){
236  
237   long long transfer_diff(long long new, long long old){
238   #if defined(SOL7) || defined(LINUX) || defined(FREEBSD)
239 < #define MAXVAL 4294967296
239 > #define MAXVAL 4294967296LL
240   #else
241 < #define MAXVAL 18446744073709551616
241 > #define MAXVAL 18446744073709551616LL
242   #endif
243          long long result;
244          if(new>=old){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines