You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2009/02/28 17:19:46 UTC

svn commit: r748879 - /apr/apr/trunk/poll/unix/port.c

Author: trawick
Date: Sat Feb 28 16:19:46 2009
New Revision: 748879

URL: http://svn.apache.org/viewvc?rev=748879&view=rev
Log:
fix compile failure on Solaris

Modified:
    apr/apr/trunk/poll/unix/port.c

Modified: apr/apr/trunk/poll/unix/port.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/port.c?rev=748879&r1=748878&r2=748879&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/port.c (original)
+++ apr/apr/trunk/poll/unix/port.c Sat Feb 28 16:19:46 2009
@@ -410,11 +410,11 @@
     {
         int flags;
 
-        if ((flags = fcntl(fd, F_GETFD)) == -1)
+        if ((flags = fcntl(pollcb->fd, F_GETFD)) == -1)
             return errno;
 
         flags |= FD_CLOEXEC;
-        if (fcntl(fd, F_SETFD, flags) == -1)
+        if (fcntl(pollcb->fd, F_SETFD, flags) == -1)
             return errno;
     }