diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-29 11:41:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-29 11:41:08 +0800 |
commit | 1bde941413965ff017d373d6018835afec288734 (patch) | |
tree | 01f6feecdf2dce176e5a06392afecbf4e136b386 /camel | |
parent | bb98624d59134164487563b8b85721e036a0dfdc (diff) | |
download | gsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.tar.gz gsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.tar.zst gsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.zip |
simplified
svn path=/trunk/; revision=17912
Diffstat (limited to 'camel')
-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 fc4b5b53d0..707fcfec94 100644 --- a/camel/camel-tcp-stream-raw.c +++ b/camel/camel-tcp-stream-raw.c @@ -588,7 +588,7 @@ stream_setsockopt (CamelTcpStream *stream, const CamelSockOptData *data) return -1; set = data->value.non_blocking ? O_NONBLOCK : 0; - flags = (flags & ~O_NONBLOCK) | (set & O_NONBLOCK); + flags = (flags & ~O_NONBLOCK) | set; if (fcntl (((CamelTcpStreamRaw *)stream)->sockfd, F_SETFL, flags) == -1) return -1; |