diff options
author | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2010-03-26 00:02:24 +0000 |
---|---|---|
committer | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2010-03-26 00:02:24 +0000 |
commit | 48db5caecbacffa2b835e6eb7fd7509538b9ed4e (patch) | |
tree | 3c7738dd9130af5df006d1858b16de1408b751c9 /libproxy/modules | |
parent | 89550530353d8145a87e8ed82228ae050b726460 (diff) | |
download | libproxy-48db5caecbacffa2b835e6eb7fd7509538b9ed4e.tar.gz |
Make config_gnome use O_NONBLOCK instead of FNONBLOCK; patch by raimue
git-svn-id: http://libproxy.googlecode.com/svn/trunk@628 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'libproxy/modules')
-rw-r--r-- | libproxy/modules/config_gnome.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libproxy/modules/config_gnome.cpp b/libproxy/modules/config_gnome.cpp index 455d977..fe52842 100644 --- a/libproxy/modules/config_gnome.cpp +++ b/libproxy/modules/config_gnome.cpp @@ -118,7 +118,7 @@ public: this->read_data(count); // Set the read pipe to non-blocking - if (fcntl(fileno(this->read), F_SETFL, FNONBLOCK) == -1) { + if (fcntl(fileno(this->read), F_SETFL, O_NONBLOCK) == -1) { fclose(this->read); fclose(this->write); kill(this->pid, SIGTERM); |