[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need a help from you
From: |
Derek R. Price |
Subject: |
Re: Need a help from you |
Date: |
Tue, 16 Oct 2001 10:59:58 -0400 |
IIRC, that was somebody's cut and paste error. Here's the fix:
[dprice@magus ccvs-clean]$ cvs diff -u -r1.302 -r1.303 src/client.c
Index: src/client.c
===================================================================
RCS file: /home2/cvsroot/ccvs/src/client.c,v
retrieving revision 1.302
retrieving revision 1.303
diff -u -r1.302 -r1.303
--- src/client.c 4 May 2001 16:36:34 -0000 1.302
+++ src/client.c 15 May 2001 14:57:52 -0000 1.303
@@ -4140,13 +4140,13 @@
{
fprintf (stderr, " -> Connecting to %s(%s):%d\n",
root->hostname,
- inet_ntoa (client_sai.sin_addr), port);
+ inet_ntoa (sin.sin_addr), port);
}
if (connect (s, (struct sockaddr *) &sin, sizeof sin) < 0)
error (1, 0, "connect to %s(%s):%d failed: %s",
root->hostname,
- inet_ntoa (client_sai.sin_addr),
+ inet_ntoa (sin.sin_addr),
port, SOCK_STRERROR (SOCK_ERRNO));
{
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net CollabNet ( http://collab.net )
--
I will not drive the principal's car.
I will not drive the principal's car.
I will not drive the principal's car...
- Bart Simpson on chalkboard, _The Simpsons_
"Manickaraj .H" wrote:
> i saw your following mail in www.mail-archive.com website.
> i am facing an exact problem like you, can you tell me how you fixed
> this.
>
> Your help will be greatly appreciated,
> Manick.
>
> Re: Errors regarding client_sai in src/client.c (1.11.1p1)
>
> --------------------------------------------------------------------------------
>
> From: Derek R. Price
> Subject: Re: Errors regarding client_sai in src/client.c (1.11.1p1)
> Date: Tue, 15 May 2001 07:42:09 -0700
>
> --------------------------------------------------------------------------------
>
> Emil Isberg wrote:
>
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I../diff -I../zlib
> > -I/opt/athena/include -g -O2 -c -o client.o `test -f client.c ||
> echo
> > './'`client.c
> > client.c: In function `start_tcp_server':
> > client.c:4120: `client_sai' undeclared (first use in this function)
> > client.c:4120: (Each undeclared identifier is reported only once
> > client.c:4120: for each function it appears in.)
>
> Thanks. I fixed this.
>
> Derek
>
> --
> Derek Price CVS Solutions Architect (
> http://CVSHome.org )
> mailto:dprice@collab.net CollabNet ( http://collab.net )
> --
> Information is the currency of democracy.
>
> - Thomas Jefferson
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Need a help from you,
Derek R. Price <=