diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-10-01 16:08:10 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-10-01 16:08:10 +0000 |
commit | a80a6a39bed20849d2fb9d2d54606d78fa6d36ef (patch) | |
tree | 9632a628772b2b688a6bac45e4cca8fe554c4d64 /net/mrtg/files | |
parent | d5bac7b49121de6ed184746a810a26bf8fc98bc3 (diff) | |
download | ports-a80a6a39bed20849d2fb9d2d54606d78fa6d36ef.tar.gz ports-a80a6a39bed20849d2fb9d2d54606d78fa6d36ef.zip |
Notes
Diffstat (limited to 'net/mrtg/files')
-rw-r--r-- | net/mrtg/files/patch-aa | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net/mrtg/files/patch-aa b/net/mrtg/files/patch-aa deleted file mode 100644 index a1732e98acba..000000000000 --- a/net/mrtg/files/patch-aa +++ /dev/null @@ -1,27 +0,0 @@ ---- src/rateup.c.orig Sat Apr 12 15:41:20 2003 -+++ src/rateup.c Mon Jun 2 10:42:04 2003 -@@ -62,7 +62,7 @@ - #ifdef __MINGW32_VERSION - #define LLD "%I64d" - #else --#define LLD "%lld" -+#define LLD "%qd" - #endif - - /* WATCOM C/C++ 10.6 under Win95/NT */ -@@ -840,12 +840,14 @@ char *file; - struct HISTORY *hist; - long long rd[5]; - time_t cur; -+ long lasttime; - - if ((fi = fopen(file,"r")) != NULL) { -- if (fscanf(fi,"%ld %s %s\n",(long int *)&last.time,&last.in[0],&last.out[0]) != 3){ -+ if (fscanf(fi,"%ld %s %s\n",&lasttime,&last.in[0],&last.out[0]) != 3){ - fprintf(stderr,"Read Error: File %s lin 1\n",file); - retcode = 1; - } -+ last.time = lasttime; - cur = last.time; - x = histvalid=0; - hist = history; |