[asterisk-commits] tilghman: branch 1.4 r211274 - /branches/1.4/main/astfd.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Aug 9 10:41:04 CDT 2009
Author: tilghman
Date: Sun Aug 9 10:41:01 2009
New Revision: 211274
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=211274
Log:
Small oops. Clear the flags which have been checked.
Modified:
branches/1.4/main/astfd.c
Modified: branches/1.4/main/astfd.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/astfd.c?view=diff&rev=211274&r1=211273&r2=211274
==============================================================================
--- branches/1.4/main/astfd.c (original)
+++ branches/1.4/main/astfd.c Sun Aug 9 10:41:01 2009
@@ -98,7 +98,7 @@
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 {
More information about the asterisk-commits
mailing list