summaryrefslogtreecommitdiff
path: root/mail/p3scan/files/patch-scanner_trophie.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p3scan/files/patch-scanner_trophie.c')
-rw-r--r--mail/p3scan/files/patch-scanner_trophie.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/mail/p3scan/files/patch-scanner_trophie.c b/mail/p3scan/files/patch-scanner_trophie.c
index ca156fe528bc..4dc46810de72 100644
--- a/mail/p3scan/files/patch-scanner_trophie.c
+++ b/mail/p3scan/files/patch-scanner_trophie.c
@@ -1,5 +1,5 @@
---- scanner_trophie.c.orig Thu Dec 4 02:57:56 2003
-+++ scanner_trophie.c Wed Feb 18 12:51:22 2004
+--- scanner_trophie.c.orig Wed Jan 5 20:53:04 2005
++++ scanner_trophie.c Tue Jul 26 12:44:51 2005
@@ -37,11 +37,11 @@
#include <sys/wait.h>
#include <sys/stat.h>
@@ -10,15 +10,5 @@
#include <stdarg.h>
#include <ctype.h>
+#include <netinet/in.h>
-
+
#include "p3scan.h"
-
-@@ -68,7 +68,7 @@
- if (trophie_fd!=-1 && connected==-1){
- do_log(LOG_DEBUG, "Trying to connect to socket");
- if (connect(trophie_fd, (struct sockaddr *)(&trophie_socket),
-- sizeof(trophie_socket.sun_family) + strlen(config->virusscanner)) >= 0){
-+ SUN_LEN(&trophie_socket)) >= 0){
- connected=1;
- do_log(LOG_DEBUG, "trophie_socket_connect connected");
- return 0;