diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-09 15:43:36 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-09 15:43:36 +0000 |
commit | f9be52f71df286bc457c77eaeaa7b03fd97b6d20 (patch) | |
tree | 805dc6974adf68276d02da0ac3de7a868ce20a67 /main/astfd.c | |
parent | 5167cc62f48b47c13a88e7ef65031c640d45ba14 (diff) |
Merged revisions 211275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r211275 | tilghman | 2009-08-09 10:42:02 -0500 (Sun, 09 Aug 2009) | 9 lines
Merged revisions 211274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211274 | tilghman | 2009-08-09 10:41:01 -0500 (Sun, 09 Aug 2009) | 2 lines
Small oops. Clear the flags which have been checked.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@211278 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/astfd.c')
-rw-r--r-- | main/astfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/astfd.c b/main/astfd.c index b0871b6bc..6a9f70e42 100644 --- a/main/astfd.c +++ b/main/astfd.c @@ -98,7 +98,7 @@ int __ast_fdleak_open(const char *file, int line, const char *func, const char * flags & O_RDONLY ? "|O_RDONLY" : "", flags & O_WRONLY ? "|O_WRONLY" : "", ""); - flags |= ~(O_CREAT | O_APPEND | O_EXCL | O_NONBLOCK | O_TRUNC | O_RDWR | O_RDONLY | O_WRONLY); + flags &= ~(O_CREAT | O_APPEND | O_EXCL | O_NONBLOCK | O_TRUNC | O_RDWR | O_RDONLY | O_WRONLY); if (flags) { STORE_COMMON(res, "open", "\"%s\",%s|%d,%04o", path, sflags, flags, mode); } else { |