X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fos-local.c;h=7172b3347f3ea6cfbf254d4bc3c22cbbdb66a3e1;hb=59e9ff6243465640956b58ad1756a3ede53eca7c;hp=d48a6ff570de34efc146c3616a22019901ca8b0e;hpb=e8c7a365b99d91127240ab350423655b0d99c8ae;p=openldap diff --git a/libraries/libldap/os-local.c b/libraries/libldap/os-local.c index d48a6ff570..7172b3347f 100644 --- a/libraries/libldap/os-local.c +++ b/libraries/libldap/os-local.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2017 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 */