lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1952 - in nss-pam-ldapd-0.7.15+squeeze: . common

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

nss-pam-ldapd commit: r1952 - in nss-pam-ldapd-0.7.15+squeeze: . common



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

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

Modified:
   nss-pam-ldapd-0.7.15+squeeze/   (props changed)
   nss-pam-ldapd-0.7.15+squeeze/common/tio.c

Modified: nss-pam-ldapd-0.7.15+squeeze/common/tio.c
==============================================================================
--- nss-pam-ldapd-0.7.15+squeeze/common/tio.c   Thu May  2 23:30:12 2013        
(r1951)
+++ nss-pam-ldapd-0.7.15+squeeze/common/tio.c   Thu May  2 23:57:03 2013        
(r1952)
@@ -185,7 +185,7 @@
     /* prepare our filedescriptorset */
     if (fp->fd>=FD_SETSIZE)
     {
-      errno=EBADFD;
+      errno=EBADF;
       return -1;
     }
     FD_ZERO(&fdset);
@@ -397,7 +397,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/