| 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/net/tcpview/files/ |
Upload File : |
--- gencode.c.orig Fri Apr 23 04:40:01 1993
+++ gencode.c Tue Oct 28 02:03:44 2003
@@ -36,7 +36,7 @@
#include <net/bpf.h>
#ifdef TCPVIEW
-#include <varargs.h>
+#include <stdarg.h>
#include <setjmp.h>
static jmp_buf env;
#define error parse_error
@@ -97,10 +97,15 @@
static int cur_chunk;
#ifdef TCPVIEW
-void parse_error(va_alist)
- va_dcl
+extern eprintv(char *cp, va_list ap);
+
+void parse_error(char *cp, ...)
{
- eprint(va_alist);
+ va_list ap;
+
+ va_start(ap, cp);
+ eprintv(cp, ap);
+ va_end(ap);
longjmp(env,1);
}
#endif