freebsd-ports/mail/xbuffy/files/patch-ai
Satoshi Asami 050eccf96c Another biff replacement.
Submitted by:	Dave Chapeskie <dchapes@ale.zeus.leitch.com>
1995-06-22 06:32:41 +00:00

86 lines
No EOL
1.6 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*** nntp.c.orig Tue Jan 31 16:37:56 1995
--- nntp.c Wed Jun 21 19:33:33 1995
***************
*** 73,79 ****
}
! int initNNTP()
{
char line[1024];
int err;
--- 73,79 ----
}
! void initNNTP()
{
char line[1024];
int err;
***************
*** 101,107 ****
bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length);
! err = connect(sock, &server, sizeof(server));
if (err)
Fatal("connect failed");
--- 101,107 ----
bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length);
! err = connect(sock, (struct sockaddr*)&server, sizeof(server));
if (err)
Fatal("connect failed");
***************
*** 137,143 ****
if ((x = atoi(line)) != 221)
{
! if (x = 423) /* then the article just don't exist */
return (0);
else
Fatal("getHeaders: got a bad value: %s", line);
--- 137,143 ----
if ((x = atoi(line)) != 221)
{
! if (x == 423) /* then the article just don't exist */
return (0);
else
Fatal("getHeaders: got a bad value: %s", line);
***************
*** 184,190 ****
return (fname);
}
! int readNewsrcEntry(newsBox, firstArt, lastArt)
BoxInfo_t *newsBox;
long firstArt;
long lastArt;
--- 184,190 ----
return (fname);
}
! void readNewsrcEntry(newsBox, firstArt, lastArt)
BoxInfo_t *newsBox;
long firstArt;
long lastArt;
***************
*** 289,300 ****
DynObject headerString;
Boolean *beenTouched;
{
- int sock, err, len;
char line[1024];
- long ipaddr;
char *from;
char *subject;
- long firstScanArticle;
long firstArticle;
long lastArticle;
long retVal;
--- 289,297 ----