aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2002-08-29 11:41:08 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-29 11:41:08 +0800
commit1bde941413965ff017d373d6018835afec288734 (patch)
tree01f6feecdf2dce176e5a06392afecbf4e136b386 /camel
parentbb98624d59134164487563b8b85721e036a0dfdc (diff)
downloadgsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.tar
gsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.tar.gz
gsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.tar.bz2
gsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.tar.lz
gsoc2013-evolution-1bde941413965ff017d373d6018835afec288734.tar.xz
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.c2
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;