diff options
author | Simo Sorce <idra@samba.org> | 2011-07-27 15:51:17 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-07-28 10:27:45 -0400 |
commit | 0a72744dd247298fe6aff160d77ae50dc97b8c4f (patch) | |
tree | c4f83e0817cfdee4cc8c353ee5b8c3ce4b8f3c3f /source3/rpc_server/rpc_server.c | |
parent | a97fef36bccb856c9a6b7e1630f20dd3c394442e (diff) | |
download | samba-0a72744dd247298fe6aff160d77ae50dc97b8c4f.tar.gz |
s3-rpc_server: Remove dead code
srv_str and cli_str are not used anymore.
Diffstat (limited to 'source3/rpc_server/rpc_server.c')
-rw-r--r-- | source3/rpc_server/rpc_server.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c index 269b7014233..2e109a5a9c7 100644 --- a/source3/rpc_server/rpc_server.c +++ b/source3/rpc_server/rpc_server.c @@ -934,8 +934,6 @@ static void dcerpc_ncacn_accept(struct tevent_context *ev_ctx, dcerpc_ncacn_disconnect_fn fn) { struct dcerpc_ncacn_conn *ncacn_conn; struct tevent_req *subreq; - const char *cli_str; - const char *srv_str = NULL; bool system_user = false; char *pipe_name; NTSTATUS status; @@ -1046,20 +1044,6 @@ static void dcerpc_ncacn_accept(struct tevent_context *ev_ctx, return; } - if (tsocket_address_is_inet(ncacn_conn->client, "ip")) { - cli_str = ncacn_conn->client_name; - } else { - cli_str = ""; - } - - if (ncacn_conn->server != NULL) { - if (tsocket_address_is_inet(ncacn_conn->server, "ip")) { - srv_str = ncacn_conn->server_name; - } else { - srv_str = NULL; - } - } - if (ncacn_conn->session_info == NULL) { status = auth_anonymous_session_info(ncacn_conn, &ncacn_conn->session_info); |