summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcli/named_pipe_auth/npa_tstream.c4
-rw-r--r--source4/torture/nbt/winsreplication.c2
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);