]> git.pld-linux.org Git - packages/fetchpop.git/blob - fetchpop1.9.patch2
- dropped pre-cvs changelog
[packages/fetchpop.git] / fetchpop1.9.patch2
1 /*
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
4
5                 seung-hong oh <oh@cis.ohio-state.edu> 
6 */
7
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
10 ***************
11 *** 94,103 ****
12   
13   #ifndef LogOnlyNew
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);
16     rpy = 0;
17   #else
18     if (!options->daemon)
19 !     printf("There are %d new messages and total of %d messages.\n",newmsg,howmany);
20   #endif
21     if ((options->remove == 2) && (last > 0)) {
22 --- 94,103 ----
23   
24   #ifndef LogOnlyNew
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);
27     rpy = 0;
28   #else
29     if (!options->daemon)
30 !     printf("You have %d new messages and total of %d messages.\n",newmsg,howmany);
31   #endif
32     if ((options->remove == 2) && (last > 0)) {
33 ***************
34 *** 153,157 ****
35     int rpy;
36     
37 !   if (!readsock(sockfd, argbuf, POPBUFLEN)) {
38   #ifdef DEBUG
39       printf("argbuf is %s\n", argbuf);
40 --- 153,157 ----
41     int rpy;
42     
43 !   if (!sockgetline(sockfd, argbuf, POPBUFLEN)) {
44   #ifdef DEBUG
45       printf("argbuf is %s\n", argbuf);
This page took 0.073748 seconds and 3 git commands to generate.