summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmpop3lb/files')
-rw-r--r--x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r11
-rw-r--r--x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch22
2 files changed, 23 insertions, 0 deletions
diff --git a/x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r1 b/x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r1
new file mode 100644
index 000000000000..be85defc4a7f
--- /dev/null
+++ b/x11-plugins/wmpop3lb/files/digest-wmpop3lb-2.4.2-r1
@@ -0,0 +1 @@
+MD5 40760d8963c25d58dea84679a390f1ac wmpop3lb2.4.2.tar.gz 37391
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
new file mode 100644
index 000000000000..d90befd22e2a
--- /dev/null
+++ b/x11-plugins/wmpop3lb/files/wmpop3lb-2.4.2-socket-close.patch
@@ -0,0 +1,22 @@
+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;
+ }