[asterisk-commits] seanbright: branch 10 r330217 - in /branches/10: ./ formats/format_wav.c

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


Author: seanbright
Date: Fri Jul 29 12:19:42 2011
New Revision: 330217

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=330217
Log:
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:
    branches/10/   (props changed)
    branches/10/formats/format_wav.c

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

Modified: branches/10/formats/format_wav.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/formats/format_wav.c?view=diff&rev=330217&r1=330216&r2=330217
==============================================================================
--- branches/10/formats/format_wav.c (original)
+++ branches/10/formats/format_wav.c Fri Jul 29 12:19:42 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