mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
8b188923ed
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
38 lines
944 B
Diff
38 lines
944 B
Diff
--- a/src/output-plugins/spo_alert_fwsam.c
|
|
+++ b/src/output-plugins/spo_alert_fwsam.c
|
|
@@ -115,7 +115,7 @@
|
|
#include <sys/filio.h>
|
|
#endif
|
|
|
|
-typedef int SOCKET;
|
|
+typedef int BY2_SOCKET;
|
|
|
|
#ifndef INVALID_SOCKET
|
|
#define INVALID_SOCKET -1
|
|
@@ -961,7 +961,7 @@
|
|
FWsamPacket sampacket;
|
|
FWsamStation *station=NULL;
|
|
FWsamList *fwsamlist;
|
|
- SOCKET stationsocket;
|
|
+ BY2_SOCKET stationsocket;
|
|
int i,len,deletestation,stationtry=0;
|
|
char *encbuf,*decbuf;
|
|
static unsigned long lastbsip[FWSAM_REPET_BLOCKS];
|
|
@@ -1387,7 +1387,7 @@
|
|
void FWsamCheckOut(FWsamStation *station)
|
|
{
|
|
FWsamPacket sampacket;
|
|
- SOCKET stationsocket;
|
|
+ BY2_SOCKET stationsocket;
|
|
int i,len;
|
|
char *encbuf,*decbuf;
|
|
|
|
@@ -1538,7 +1538,7 @@
|
|
int i,len,stationok=TRUE;
|
|
FWsamPacket sampacket;
|
|
char *encbuf,*decbuf;
|
|
- SOCKET stationsocket;
|
|
+ BY2_SOCKET stationsocket;
|
|
|
|
|
|
/* create a socket for the station */
|