403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/benchmarks/dbs/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/benchmarks/dbs/files/patch-src_sendrecv.c
--- src/sendrecv.c.orig	1997-10-13 03:27:19 UTC
+++ src/sendrecv.c
@@ -70,12 +70,12 @@
 #define INIT_RECORD()  (rdp = rd->d, rd->n=0)
 #define INIT_RECORD2() (rdp2 = rd2->d, rd2->n=0)
 
-#define RECORD(NO,SIZE) (gettimeofday(&(rdp->tv), &tzp),\
+#define RECORD(NO,SIZE) (gettimeofday(&(rdp->tv), (struct timezone *)&tzp),\
 			 rdp->packet_no   = (NO),\
 			 rdp->packet_size = (SIZE),\
 			 rdp++, rd->n++)
 
-#define RECORD2(NO,SIZE) (gettimeofday(&(rdp2->tv), &tzp),\
+#define RECORD2(NO,SIZE) (gettimeofday(&(rdp2->tv), (struct timezone *)&tzp),\
 			  rdp2->packet_no   = (NO),\
 			  rdp2->packet_size = (SIZE),\
 			  rdp2++, rd2->n++)
@@ -87,7 +87,7 @@
 				    _TP1.tv_usec %= 1000000;\
 				}
 
-#define GETTIMEOFDAY(_TPP) gettimeofday(&tp, &tzp);\
+#define GETTIMEOFDAY(_TPP) gettimeofday(&tp, (struct timezone *)&tzp);\
                            tp.tv_sec  = _TPP.tv_sec  - tp.tv_sec;\
                            tp.tv_usec = _TPP.tv_usec - tp.tv_usec;\
                            if (tp.tv_usec < 0) {\
@@ -108,7 +108,7 @@
 	              USLEEP(tp);
 
 /* before 0.00001s */
-#define WAIT_BEFORE(_TPP) gettimeofday(&tp, &tzp);\
+#define WAIT_BEFORE(_TPP) gettimeofday(&tp, (struct timezone *) &tzp);\
                           tp.tv_sec  = _TPP.tv_sec  - tp.tv_sec;\
                           tp.tv_usec = _TPP.tv_usec - tp.tv_usec - 1000;\
                           if (tp.tv_usec < 0) {\

Youez - 2016 - github.com/yon3zu
LinuXploit