summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index 5cc0748c29..71a7172e5c 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -258,7 +258,7 @@ static void ldapsrv_recv(struct stream_connection *c, uint16_t flags)
/* work out how much data is pending */
status = tls_socket_pending(conn->tls, &npending);
if (!NT_STATUS_IS_OK(status)) {
- ldapsrv_terminate_connection(conn, "socket_pening() failed");
+ ldapsrv_terminate_connection(conn, "socket_pending() failed");
return;
}
if (npending == 0) {