summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch')
-rw-r--r--x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch
deleted file mode 100644
index d90befd22e2a..000000000000
--- a/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur wmpop3lb2.4.2/wmpop3/Pop3Client.c wmpop3lb2.4.2-pathed/wmpop3/Pop3Client.c
---- wmpop3lb2.4.2/wmpop3/Pop3Client.c 2002-06-27 16:04:42.000000000 +0200
-+++ wmpop3lb2.4.2-pathed/wmpop3/Pop3Client.c 2005-10-28 13:14:44.000000000 +0300
-@@ -67,12 +67,18 @@
- pc->server.sin_family = AF_INET;
- pc->hp = gethostbyname(serverName);
- if( pc->hp == 0)
-+ {
-+ close(pc->s);
- return -1;
-+ }
- memcpy( &(pc->server.sin_addr), pc->hp->h_addr, pc->hp->h_length);
- pc->server.sin_port = htons(port);
- if ( connect(pc->s, (struct sockaddr *)&(pc->server)
- , sizeof(pc->server)) < 0 )
-+ {
-+ close(pc->s);
- return -1;
-+ }
- pc->connected = CONNECTED;
- return 0;
- }