[PATCH] typo in s3 rpc server
Guenther Deschner
gd at samba.org
Wed Jun 3 07:55:24 MDT 2015
Am 03.06.2015 um 13:53 schrieb Volker Lendecke:
> On Wed, Jun 03, 2015 at 01:35:50PM +0200, Guenther Deschner wrote:
>> * @param[in] bvec The binding vector to add the intface, host and port.
>
> "intface" looks wrong, too...
>
> Volker
>
Good catch.
Attached a new version.
Please review & push.
Thanks,
Guenther
--
Günther Deschner GPG-ID: 8EE11688
Red Hat gdeschner at redhat.com
Samba Team gd at samba.org
-------------- next part --------------
>From e8e57fad255042f3eeaa901270af2c6711512947 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd at samba.org>
Date: Wed, 3 Jun 2015 13:33:00 +0200
Subject: [PATCH 1/2] s3-rpc_server: Fix inteface typo.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
Reviewed-by: Michael Adam <obnox at samba.org>
---
source3/librpc/rpc/dcerpc_ep.h | 2 +-
source3/printing/spoolssd.c | 8 ++++----
source3/rpc_server/epmapper/srv_epmapper.c | 2 +-
source3/rpc_server/epmd.c | 2 +-
source3/rpc_server/fssd.c | 2 +-
source3/rpc_server/lsasd.c | 14 +++++++-------
6 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/source3/librpc/rpc/dcerpc_ep.h b/source3/librpc/rpc/dcerpc_ep.h
index 7d1397b..aadb8ac 100644
--- a/source3/librpc/rpc/dcerpc_ep.h
+++ b/source3/librpc/rpc/dcerpc_ep.h
@@ -53,7 +53,7 @@ NTSTATUS dcerpc_binding_vector_add_np_default(const struct ndr_interface_table *
*
* @param[in] bvec The binding vector to add the intface, host and port.
*
- * @param[in] host The ip address of the network inteface bound.
+ * @param[in] host The ip address of the network interface bound.
*
* @param[in] port The port bound.
*
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index 3007898..9f533b3 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -315,14 +315,14 @@ static bool spoolss_child_init(struct tevent_context *ev_ctx,
status = rpc_winreg_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register winreg rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register winreg rpc interface! (%s)\n",
nt_errstr(status)));
return false;
}
status = rpc_spoolss_init(&spoolss_cb);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register spoolss rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register spoolss rpc interface! (%s)\n",
nt_errstr(status)));
return false;
}
@@ -742,14 +742,14 @@ pid_t start_spoolssd(struct tevent_context *ev_ctx,
status = rpc_winreg_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register winreg rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register winreg rpc interface! (%s)\n",
nt_errstr(status)));
exit(1);
}
status = rpc_spoolss_init(&spoolss_cb);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register spoolss rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register spoolss rpc interface! (%s)\n",
nt_errstr(status)));
exit(1);
}
diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c
index 129ce52..24f7d9c 100644
--- a/source3/rpc_server/epmapper/srv_epmapper.c
+++ b/source3/rpc_server/epmapper/srv_epmapper.c
@@ -774,7 +774,7 @@ error_status_t _epm_Lookup(struct pipes_struct *p,
if (match) {
if (r->in.inquiry_type == RPC_C_EP_MATCH_BY_IF ||
r->in.inquiry_type == RPC_C_EP_MATCH_BY_OBJ) {
- /* Check inteface version */
+ /* Check interface version */
match = false;
switch (r->in.vers_option) {
diff --git a/source3/rpc_server/epmd.c b/source3/rpc_server/epmd.c
index dad67ae..f87edd8 100644
--- a/source3/rpc_server/epmd.c
+++ b/source3/rpc_server/epmd.c
@@ -190,7 +190,7 @@ void start_epmd(struct tevent_context *ev_ctx,
status = rpc_epmapper_init(&epmapper_cb);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register epmd rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register epmd rpc interface! (%s)\n",
nt_errstr(status)));
exit(1);
}
diff --git a/source3/rpc_server/fssd.c b/source3/rpc_server/fssd.c
index 0f8b02e..81c65a6 100644
--- a/source3/rpc_server/fssd.c
+++ b/source3/rpc_server/fssd.c
@@ -197,7 +197,7 @@ void start_fssd(struct tevent_context *ev_ctx,
status = rpc_FileServerVssAgent_init(&fss_cb);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register fssd rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register fssd rpc interface! (%s)\n",
nt_errstr(status)));
exit(1);
}
diff --git a/source3/rpc_server/lsasd.c b/source3/rpc_server/lsasd.c
index d287bff..6fd0817 100644
--- a/source3/rpc_server/lsasd.c
+++ b/source3/rpc_server/lsasd.c
@@ -278,21 +278,21 @@ static bool lsasd_child_init(struct tevent_context *ev_ctx,
status = rpc_lsarpc_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register lsarpc rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register lsarpc rpc interface! (%s)\n",
nt_errstr(status)));
return false;
}
status = rpc_samr_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register samr rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register samr rpc interface! (%s)\n",
nt_errstr(status)));
return false;
}
status = rpc_netlogon_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register netlogon rpc inteface! (%s)\n",
+ DEBUG(0, ("Failed to register netlogon rpc interface! (%s)\n",
nt_errstr(status)));
return false;
}
@@ -446,7 +446,7 @@ static void lsasd_handle_client(struct tevent_req *req)
(int)(data->pf->pid)));
if (tsocket_address_is_inet(srv_addr, "ip")) {
- DEBUG(3, ("Got a tcpip client connection from %s on inteface %s\n",
+ DEBUG(3, ("Got a tcpip client connection from %s on interface %s\n",
tsocket_address_string(cli_addr, tmp_ctx),
tsocket_address_string(srv_addr, tmp_ctx)));
@@ -917,21 +917,21 @@ void start_lsasd(struct tevent_context *ev_ctx,
status = rpc_lsarpc_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register lsarpc rpc inteface in lsasd! (%s)\n",
+ DEBUG(0, ("Failed to register lsarpc rpc interface in lsasd! (%s)\n",
nt_errstr(status)));
exit(1);
}
status = rpc_samr_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register samr rpc inteface in lsasd! (%s)\n",
+ DEBUG(0, ("Failed to register samr rpc interface in lsasd! (%s)\n",
nt_errstr(status)));
exit(1);
}
status = rpc_netlogon_init(NULL);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("Failed to register netlogon rpc inteface in lsasd! (%s)\n",
+ DEBUG(0, ("Failed to register netlogon rpc interface in lsasd! (%s)\n",
nt_errstr(status)));
exit(1);
}
--
2.4.2
>From d3a0a3bcd49080acb97ad98c1cd0f64d26fdd770 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd at samba.org>
Date: Wed, 3 Jun 2015 15:51:13 +0200
Subject: [PATCH 2/2] s3-rpc_server: Fix intface typo.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
---
source3/librpc/rpc/dcerpc_ep.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source3/librpc/rpc/dcerpc_ep.h b/source3/librpc/rpc/dcerpc_ep.h
index aadb8ac..6cd4683 100644
--- a/source3/librpc/rpc/dcerpc_ep.h
+++ b/source3/librpc/rpc/dcerpc_ep.h
@@ -51,7 +51,7 @@ NTSTATUS dcerpc_binding_vector_add_np_default(const struct ndr_interface_table *
*
* @param[in] iface The rpc interface to add.
*
- * @param[in] bvec The binding vector to add the intface, host and port.
+ * @param[in] bvec The binding vector to add the interface, host and port.
*
* @param[in] host The ip address of the network interface bound.
*
@@ -69,7 +69,7 @@ NTSTATUS dcerpc_binding_vector_add_port(const struct ndr_interface_table *iface,
*
* @param[in] iface The rpc interface to add.
*
- * @param[in] bvec The binding vector to add the intface, host and port.
+ * @param[in] bvec The binding vector to add the interface, host and port.
*
* @param[in] name The name of the unix socket.
*
--
2.4.2
More information about the samba-technical
mailing list