From 47d08d021f98307e84e7525340ac008ebf4d12f4 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Fri, 30 Apr 2004 18:24:21 +0000 Subject: Fix typo. #53466. 2004-04-30 Priit Laes * providers/nntp/camel-nntp-summary.c: Fix typo. #53466. svn path=/trunk/; revision=25722 --- camel/camel-tcp-stream-raw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'camel/camel-tcp-stream-raw.c') diff --git a/camel/camel-tcp-stream-raw.c b/camel/camel-tcp-stream-raw.c index 8981200c28..04e47ac64b 100644 --- a/camel/camel-tcp-stream-raw.c +++ b/camel/camel-tcp-stream-raw.c @@ -390,8 +390,7 @@ stream_connect (CamelTcpStream *stream, struct hostent *host, int port) g_return_val_if_fail (host != NULL, -1); - fd = socket_connect (host, port); - if (fd == -1) + if ((fd = socket_connect (host, port)) == -1) return -1; raw->sockfd = fd; -- cgit v1.2.3