[svn-commits] seanbright: branch 1.8 r330213 - /branches/1.8/formats/format_wav.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Jul 29 12:19:00 CDT 2011
Author: seanbright
Date: Fri Jul 29 12:18:56 2011
New Revision: 330213
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=330213
Log:
Correct the check for O_RDONLY.
Modified:
branches/1.8/formats/format_wav.c
Modified: branches/1.8/formats/format_wav.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/formats/format_wav.c?view=diff&rev=330213&r1=330212&r2=330213
==============================================================================
--- branches/1.8/formats/format_wav.c (original)
+++ branches/1.8/formats/format_wav.c Fri Jul 29 12:18:56 2011
@@ -340,7 +340,7 @@
char zero = 0;
struct wav_desc *fs = (struct wav_desc *)s->_private;
- if ((s->mode & O_RDONLY) == O_RDONLY) {
+ if (s->mode == O_RDONLY) {
return;
}
More information about the svn-commits
mailing list