From f74090c817085317ec299f94a8dba61d8d47bf7d Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Fri, 4 May 2018 22:18:16 +0200 Subject: [PATCH] Fix spelling s/conection/connection/ Signed-off-by: Mathieu Parent Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- libcli/named_pipe_auth/npa_tstream.c | 4 ++-- source4/torture/nbt/winsreplication.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c index d333ce6ee22..8ec52ed9b85 100644 --- a/libcli/named_pipe_auth/npa_tstream.c +++ b/libcli/named_pipe_auth/npa_tstream.c @@ -1402,7 +1402,7 @@ int _tstream_npa_accept_existing_recv(struct tevent_req *req, ret = tsocket_simple_int_recv(req, perrno); if (ret != 0) { - DEBUG(2, ("Failed to accept named pipe conection: %s\n", + DEBUG(2, ("Failed to accept named pipe connection: %s\n", strerror(*perrno))); tevent_req_received(req); return -1; @@ -1416,7 +1416,7 @@ int _tstream_npa_accept_existing_recv(struct tevent_req *req, #else *perrno = EINVAL; #endif - DEBUG(2, ("Failed to accept named pipe conection: %s => %s\n", + DEBUG(2, ("Failed to accept named pipe connection: %s => %s\n", nt_errstr(state->accept_status), strerror(*perrno))); tevent_req_received(req); diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index 15db3ab9169..5d89f711219 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -101,7 +101,7 @@ static bool test_assoc_ctx1(struct torture_context *tctx) if (!torture_nbt_get_name(tctx, &name, &address)) return false; - torture_comment(tctx, "Test if assoc_ctx is only valid on the conection it was created on\n"); + torture_comment(tctx, "Test if assoc_ctx is only valid on the connection it was created on\n"); wrepl_socket1 = wrepl_socket_init(tctx, tctx->ev); wrepl_socket2 = wrepl_socket_init(tctx, tctx->ev);