aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-raw.c
diff options
context:
space:
mode:
authorPriit Laes <amd@tt.ee>2004-05-01 02:24:21 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-01 02:24:21 +0800
commit47d08d021f98307e84e7525340ac008ebf4d12f4 (patch)
treeb826216b428968c1cfc49c534ef950a08a1bb870 /camel/camel-tcp-stream-raw.c
parentf27d3cd1e292bbeddb62d02bee8c26efb52a9198 (diff)
downloadgsoc2013-evolution-47d08d021f98307e84e7525340ac008ebf4d12f4.tar.gz
gsoc2013-evolution-47d08d021f98307e84e7525340ac008ebf4d12f4.tar.zst
gsoc2013-evolution-47d08d021f98307e84e7525340ac008ebf4d12f4.zip
Fix typo. #53466.
2004-04-30 Priit Laes <amd@tt.ee> * providers/nntp/camel-nntp-summary.c: Fix typo. #53466. svn path=/trunk/; revision=25722
Diffstat (limited to 'camel/camel-tcp-stream-raw.c')
-rw-r--r--camel/camel-tcp-stream-raw.c3
1 files changed, 1 insertions, 2 deletions
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;