Diff for /libraries/liblber/nt_err.c between versions 1.7 and 1.15.2.5

version 1.7, 2001/07/21 21:13:05 version 1.15.2.5, 2010/04/13 20:22:54
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/liblber/nt_err.c,v 1.6 2000/05/13 21:08:25 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/liblber/nt_err.c,v 1.15.2.4 2009/01/22 00:00:54 kurt Exp $ */
 /*  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.   *
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * Copyright 1998-2010 The OpenLDAP Foundation.
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted only as authorized by the OpenLDAP
    * Public License.
    *
    * A copy of this license is available in the file LICENSE in the
    * top-level directory of the distribution or, alternatively, at
    * <http://www.OpenLDAP.org/license.html>.
  */   */
   
 #include "portable.h"  #include "portable.h"
   
 #ifdef HAVE_WINSOCK2  #ifdef HAVE_WINSOCK2
Line 15 Line 25
   
 char *ber_pvt_wsa_err2string( int err )  char *ber_pvt_wsa_err2string( int err )
 {  {
         switch( err )          switch( err ) {
         {  
                 LBER_RETSTR( WSAEINTR )                  LBER_RETSTR( WSAEINTR )
                 LBER_RETSTR( WSAEBADF )                  LBER_RETSTR( WSAEBADF )
                 LBER_RETSTR( WSAEACCES )                  LBER_RETSTR( WSAEACCES )
Line 76  char *ber_pvt_wsa_err2string( int err ) Line 85  char *ber_pvt_wsa_err2string( int err )
                 LBER_RETSTR( WSA_E_NO_MORE )                  LBER_RETSTR( WSA_E_NO_MORE )
                 LBER_RETSTR( WSA_E_CANCELLED )                  LBER_RETSTR( WSA_E_CANCELLED )
                 LBER_RETSTR( WSAEREFUSED )                  LBER_RETSTR( WSAEREFUSED )
 #endif // HAVE_WINSOCK2   #endif /* HAVE_WINSOCK2 */
   
                 LBER_RETSTR( WSAHOST_NOT_FOUND )                  LBER_RETSTR( WSAHOST_NOT_FOUND )
                 LBER_RETSTR( WSATRY_AGAIN )                  LBER_RETSTR( WSATRY_AGAIN )
Line 84  char *ber_pvt_wsa_err2string( int err ) Line 93  char *ber_pvt_wsa_err2string( int err )
                 LBER_RETSTR( WSANO_DATA )                  LBER_RETSTR( WSANO_DATA )
         }          }
         return "unknown WSA error";          return "unknown WSA error";
 }  
   
   }

Removed from v.1.7  
changed lines
  Added in v.1.15.2.5


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org