You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2002/04/04 18:55:50 UTC

cvs commit: apr/file_io/netware pipe.c

bnicholes    02/04/04 08:55:50

  Modified:    file_io/netware pipe.c
  Log:
  Fixed a precedence problem
  
  Revision  Changes    Path
  1.8       +2 -2      apr/file_io/netware/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/netware/pipe.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- pipe.c	20 Mar 2002 08:54:42 -0000	1.7
  +++ pipe.c	4 Apr 2002 16:55:50 -0000	1.8
  @@ -153,8 +153,8 @@
   	if (!tmpnam(tname))
   		return errno;
   
  -	if ((filedes[0] = pipe_open(tname, O_RDONLY) != -1)
  -		&& (filedes[1] = pipe_open(tname, O_WRONLY) != -1))
  +	if (((filedes[0] = pipe_open(tname, O_RDONLY)) != -1)
  +		&& ((filedes[1] = pipe_open(tname, O_WRONLY)) != -1))
   	{
           (*in) = (apr_file_t *)apr_pcalloc(pool, sizeof(apr_file_t));
           (*out) = (apr_file_t *)apr_pcalloc(pool, sizeof(apr_file_t));