2 Apply this patch to fetchpop1.9, such as 'patch < fetchpop1.9.patch2'
3 This is fix for some POP3 servers that send CR/LF in reply
5 seung-hong oh <oh@cis.ohio-state.edu>
8 *** fetchpop1.9/pop.c.orig Tue Jun 25 21:28:06 1996
9 --- fetchpop1.9/pop.c Sun Jun 30 22:41:12 1996
14 ! sprintf(buf,"There are %d new messages and total of %d messages.\n",newmsg,howmany);
15 printmsg(buf,options->logging, options->daemon, logfd, 0, options->whichdeliver == 4);
19 ! printf("There are %d new messages and total of %d messages.\n",newmsg,howmany);
21 if ((options->remove == 2) && (last > 0)) {
25 ! sprintf(buf,"You have %d new messages and total of %d messages.\n",newmsg,howmany);
26 printmsg(buf,options->logging, options->daemon, logfd, 0, options->whichdeliver == 4);
30 ! printf("You have %d new messages and total of %d messages.\n",newmsg,howmany);
32 if ((options->remove == 2) && (last > 0)) {
37 ! if (!readsock(sockfd, argbuf, POPBUFLEN)) {
39 printf("argbuf is %s\n", argbuf);
43 ! if (!sockgetline(sockfd, argbuf, POPBUFLEN)) {
45 printf("argbuf is %s\n", argbuf);