lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1951 - nss-pam-ldapd-0.7/common

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1951 - nss-pam-ldapd-0.7/common



Author: arthur
Date: Thu May  2 23:30:12 2013
New Revision: 1951
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1951&view=revision

Log:
use the more portable EBADF instead of EBADFD (thanks Steven Chamberlain)

Modified:
   nss-pam-ldapd-0.7/common/tio.c

Modified: nss-pam-ldapd-0.7/common/tio.c
==============================================================================
--- nss-pam-ldapd-0.7/common/tio.c      Sun Apr 28 22:32:30 2013        (r1950)
+++ nss-pam-ldapd-0.7/common/tio.c      Thu May  2 23:30:12 2013        (r1951)
@@ -186,7 +186,7 @@
     /* prepare our filedescriptorset */
     if (fp->fd>=FD_SETSIZE)
     {
-      errno=EBADFD;
+      errno=EBADF;
       return -1;
     }
     FD_ZERO(&fdset);
@@ -404,7 +404,7 @@
   /* prepare our filedescriptorset */
   if (fp->fd>=FD_SETSIZE)
   {
-    errno=EBADFD;
+    errno=EBADF;
     return -1;
   }
   FD_ZERO(&fdset);
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/