1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Fix for those using POP3 servers that don't support the LAST command.

PR:		38281
Submitted by:	Daichi GOTO <daichi@ongs.net>
This commit is contained in:
Jim Mock 2002-08-04 20:41:04 +00:00
parent 6153e1ab4a
commit 9041382860
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64000
2 changed files with 16 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= wmpop3
PORTVERSION= 0.5.6a
PORTREVISION= 1
CATEGORIES= mail windowmaker
MASTER_SITES= http://www.cs.mun.ca/~scotth/download/
DISTFILES= WMPop3-${PORTVERSION}.tar.gz

View File

@ -0,0 +1,15 @@
--- Pop3Client.c.orig Sat Mar 2 13:18:27 2002
+++ Pop3Client.c Sat Mar 2 13:23:11 2002
@@ -153,7 +153,12 @@
if( temp[0] != '+' ){
perror("Error Reciving Stats");
+ perror("This pop3 server dose not support LAST command.");
+ perror("I use 0 instread of the unkown result.");
+ pc->numOfUnreadMessages = pc->numOfMessages;
+/*
return -1;
+*/
}
return 1;