diff options
Diffstat (limited to 'camel/camel-tcp-stream-raw.c')
-rw-r--r-- | camel/camel-tcp-stream-raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream-raw.c b/camel/camel-tcp-stream-raw.c index d2cee82c0a..8981200c28 100644 --- a/camel/camel-tcp-stream-raw.c +++ b/camel/camel-tcp-stream-raw.c @@ -305,7 +305,7 @@ socket_connect (struct hostent *h, int port) } #endif - if ((fd = socket (h->h_addrtype, SOCK_STREAM, 0) == -1)) + if ((fd = socket (h->h_addrtype, SOCK_STREAM, 0)) == -1) return -1; cancel_fd = camel_operation_cancel_fd (NULL); |