From 802d83d5a0686eb1add75533544198f74368b6b7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 11 May 2000 20:48:38 +0000 Subject: now it deff compiles svn path=/trunk/; revision=2995 --- camel/providers/smtp/camel-smtp-transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers/smtp') diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index ef20a06e8c..5915045bc7 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -159,7 +159,7 @@ smtp_connect (CamelService *service, CamelException *ex) /* get the localaddr - needed later by smtp_helo */ addrlen = sizeof(localaddr); - getsockname(sock, (struct sockaddr*)&localaddr, &addrlen); + getsockname(fd, (struct sockaddr*)&localaddr, &addrlen); transport->ostream = camel_stream_fs_new_with_fd (fd); transport->istream = camel_stream_buffer_new (transport->ostream, -- cgit