FreeBSD Bugzilla – Attachment 40847 Details for
Bug 64088
[maintainer-update] net-mgmt/ehnt 0.3_3 -> 0.3_4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.31 KB, created by
Dmitry Morozovsky
on 2004-03-11 07:50:17 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Morozovsky
Created:
2004-03-11 07:50:17 UTC
Size:
2.31 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/net-mgmt/ehnt/Makefile,v >retrieving revision 1.9 >diff -u -r1.9 Makefile >--- Makefile 23 Feb 2004 04:41:59 -0000 1.9 >+++ Makefile 11 Mar 2004 07:40:29 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= ehnt > PORTVERSION= 0.3 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= net-mgmt > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/net-mgmt/ehnt/distinfo,v >retrieving revision 1.2 >diff -u -r1.2 distinfo >--- distinfo 5 Oct 2001 20:34:49 -0000 1.2 >+++ distinfo 11 Mar 2004 07:40:29 -0000 >@@ -1,2 +1,2 @@ > MD5 (ehnt-0.3.tar.gz) = 1477137f5207561cafb421864351562d >-MD5 (ehnt_data-0.3.tar.gz) = b861e0fb0092c45c71b9048e9a4b1679 >+SIZE (ehnt-0.3.tar.gz) = 25795 >Index: files/patch-ehntserv.c >=================================================================== >RCS file: /home/ncvs/ports/net-mgmt/ehnt/files/patch-ehntserv.c,v >retrieving revision 1.1 >diff -u -r1.1 patch-ehntserv.c >--- files/patch-ehntserv.c 16 Nov 2002 14:36:35 -0000 1.1 >+++ files/patch-ehntserv.c 11 Mar 2004 07:40:29 -0000 >@@ -1,8 +1,8 @@ > >-$FreeBSD: ports/net-mgmt/ehnt/files/patch-ehntserv.c,v 1.1 2002/11/16 14:36:35 edwin Exp $ >+$FreeBSD$ > > --- ehntserv.c.orig Thu Oct 4 22:18:29 2001 >-+++ ehntserv.c Thu Nov 14 22:18:40 2002 >++++ ehntserv.c Fri May 30 14:16:22 2003 > @@ -33,8 +33,8 @@ > #define MAXCLIENTS 256 > #define MAXPACKET 8192 >@@ -120,11 +120,18 @@ > for (i=0; i<MAXCLIENTS; i++) { > if (l_clients[i] > 0) { > if (FD_ISSET(l_clients[i],&write_fds)) { >-@@ -220,9 +230,9 @@ >+@@ -215,14 +225,14 @@ >+ if (FD_ISSET(l_fd,&read_fds)) { /*we have a new TCP client*/ >+ int l_connfd,new_index=-1; >+ socklen_t l_addrlen; >+- struct sockaddr * l_cliaddr; >++ struct sockaddr l_cliaddr; >+ > /* printf("incoming connection on tcp 4444\n");*/ > l_addrlen=sizeof(l_cliaddr); >- if ( (l_connfd = accept(l_fd,(struct sockaddr *) l_cliaddr, &l_addrlen)) < 0) >+- if ( (l_connfd = accept(l_fd,(struct sockaddr *) l_cliaddr, &l_addrlen)) < 0) > - { log_error("accept error"); exit(0); } >++ if ( (l_connfd = accept(l_fd, &l_cliaddr, &l_addrlen)) < 0) > + { log_error("accept error"); exit(1); } > > - SetTCPOpts(l_connfd);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 64088
: 40847