]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/os-local.c
Happy New Year
[openldap] / libraries / libldap / os-local.c
index 04a7dd39fde19da5601d9af3025b5d944ae84af7..7172b3347f3ea6cfbf254d4bc3c22cbbdb66a3e1 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2016 The OpenLDAP Foundation.
+ * Copyright 1998-2018 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -109,7 +109,7 @@ ldap_pvt_close_socket(LDAP *ld, int s)
 #define TRACE do { \
        char ebuf[128]; \
        oslocal_debug(ld, \
-               "ldap_is_socket_ready: errror on socket %d: errno: %d (%s)\n", \
+               "ldap_is_socket_ready: error on socket %d: errno: %d (%s)\n", \
                s, \
                errno, \
                AC_STRERROR_R(errno, ebuf, sizeof ebuf)); \
@@ -359,5 +359,5 @@ ldap_connect_to_path(LDAP *ld, Sockbuf *sb, LDAPURLDesc *srv, int async)
        return rc;
 }
 #else
-static int dummy;
+static int dummy; /* generate also a warning: 'dummy' defined but not used (at least here) */
 #endif /* LDAP_PF_LOCAL */