[asterisk-commits] seanbright: trunk r330221 - in /trunk: ./ formats/format_wav.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 29 12:20:25 CDT 2011


Author: seanbright
Date: Fri Jul 29 12:20:20 2011
New Revision: 330221

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=330221
Log:
Merged revisions 330217 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330217 | seanbright | 2011-07-29 13:19:42 -0400 (Fri, 29 Jul 2011) | 9 lines
  
  Merged revisions 330213 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r330213 | seanbright | 2011-07-29 13:18:56 -0400 (Fri, 29 Jul 2011) | 2 lines
    
    Correct the check for O_RDONLY.
  ........
................

Modified:
    trunk/   (props changed)
    trunk/formats/format_wav.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.

Modified: trunk/formats/format_wav.c
URL: http://svnview.digium.com/svn/asterisk/trunk/formats/format_wav.c?view=diff&rev=330221&r1=330220&r2=330221
==============================================================================
--- trunk/formats/format_wav.c (original)
+++ trunk/formats/format_wav.c Fri Jul 29 12:20:20 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 asterisk-commits mailing list