Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 18:36:51 +0100 (CET)
From:      Alexander Langer <alex@cichlids.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16449: fix textproc/nicetext (bentofied)
Message-ID:  <200001291736.SAA27150@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help

>Number:         16449
>Category:       ports
>Synopsis:       fix textproc/nicetext (bentofied)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 09:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Langer
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
This space is intentionally left blank.
>Environment:

bento

>Description:

ansi-c++ violation. (what could it be else?)

>How-To-Repeat:

bento

>Fix:

add this to the pathces subdir:

--- patch-ac begins here ---
--- nttpd/src/nttpd.cc.old	Sat Jan 29 18:27:06 2000
+++ nttpd/src/nttpd.cc	Sat Jan 29 18:27:36 2000
@@ -288,7 +288,7 @@
 
 	for(;;) 
 	{
-		if ((newfd=accept(sockfd, (struct sockaddr *)&their_addr, &sin_size))==-1)
+		if ((newfd=accept(sockfd, (struct sockaddr *)&their_addr, (socklen_t *) &sin_size))==-1)
 		{
 			perror("accept");
 			continue;
--- patch-ac ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001291736.SAA27150>