remmina: update to 1.4.37
[oi-userland.git] / components / network / udpxy / patches / netop.c.patch
blob7b93f24dba199be790b4325614ad4e7949e745cb
1 --- udpxy-1.0.23-9.orig/netop.c 2013-05-18 09:02:55.000000000 -0700
2 +++ udpxy-1.0.23-9/netop.c 2016-11-06 09:14:39.574023907 -0800
3 @@ -92,16 +92,6 @@
4 rc = set_nblock (lsock, NONBLOCK);
5 if (0 != rc) break;
7 - TRACE( (void)tmfprintf (g_flog, "Setting low watermark for "
8 - "server socket [%d] to [%d]\n", lsock, wmark) );
9 - rc = setsockopt (lsock, SOL_SOCKET, SO_RCVLOWAT,
10 - (char*)&wmark, sizeof(wmark));
11 - if (rc) {
12 - mperror (g_flog, errno, "%s: setsockopt SO_RCVLOWAT",
13 - __func__);
14 - break;
15 - }
17 rc = bind( lsock, (struct sockaddr*)&servaddr, sizeof(servaddr) );
18 if( 0 != rc ) break;
20 --- udpxy-1.0.23-10/netop.c.orig Sun Nov 5 08:08:14 2017
21 +++ udpxy-1.0.23-10/netop.c Sun Nov 5 08:09:27 2017
22 @@ -47,7 +47,7 @@
23 setup_listener( const char* ipaddr, int port, int* sockfd, int bklog )
25 #define LOWMARK 10 /* do not accept input of less than X octets */
26 - int rc, lsock, wmark = LOWMARK;
27 + int rc, lsock;
28 struct sockaddr_in servaddr;
29 const int ON = 1;