403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
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/comms/acfax/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/comms/acfax/files/patch-fax_funcs.c
--- fax_funcs.c.orig	1998-10-11 16:34:37 UTC
+++ fax_funcs.c
@@ -37,6 +37,8 @@
 #include "widgets.h"
 #include "fax_funcs.h"
 
+#define PI M_PI
+
 /* some variables that are allowed to be global */
 int	lpm;		/* lines per minute */
 int     ixoc;           /* number of pixels of one scan-line / PI */
@@ -96,7 +98,7 @@ char	*mod_end;	/* pointer to first byte behind end of 
 FILE	*fsfile;	/* file pointer of current save-file */
 char	faxsavename[256]; /* current name of save-file */
 char	*saveline;	/* storage for 1 image-line in save_func */
-XtAppContext	mainapp; /* main app.context (needed for interv.timer) */
+extern XtAppContext	mainapp; /* main app.context (needed for interv.timer) */
 XtIntervalId	chstime; /* for the repetitive called background function */
 XtInputId	dspxid = 0; /* for the background function when using select() */
 XEvent	event;		/* event needed to form the XtAppMainLoop */
@@ -117,7 +119,7 @@ void init_fax(void)
   if (fax_inited) return;
   fprintf(stderr, "initializing FAX procedures and alloc'ing core-space\n");
   lpm = 120;
-  ixoc = 288;
+  ixoc = 576;
   devi = 400;
   mod_mode = MOD_FM | FIL_MIDL;
   dmaxval = 63;

Youez - 2016 - github.com/yon3zu
LinuXploit