mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
8ec36b6cf8
PR: ports/5115
25 lines
584 B
Plaintext
25 lines
584 B
Plaintext
--- nntp.c.orig Wed Mar 20 22:45:11 1996
|
|
+++ nntp.c Thu Nov 20 03:58:04 1997
|
|
@@ -101,7 +101,7 @@
|
|
|
|
bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length);
|
|
|
|
- err = connect(sock, (struct aockaddr*)&server, sizeof(server));
|
|
+ err = connect(sock, (struct sockaddr*)&server, sizeof(server));
|
|
|
|
if (err)
|
|
Fatal("connect failed");
|
|
@@ -289,12 +289,9 @@
|
|
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;
|