summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-04-28 11:30:58 +0000
committerJeremy Allison <jra@samba.org>2015-04-28 20:48:01 +0200
commit06f4ba321761d6fdfb4a722849da6a11f6779a0a (patch)
treee1f65152b88b5d6d4b896e9cd5880cb95070bdf4 /source4/smbd
parentb2c34d45c0b16a8e7acff864b8c5fdca9f38d20d (diff)
downloadsamba-06f4ba321761d6fdfb4a722849da6a11f6779a0a.tar.gz
lib: Remove server_id_str()
Call server_id_str_buf instead Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Apr 28 20:48:01 CEST 2015 on sn-devel-104
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/service_stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/smbd/service_stream.c b/source4/smbd/service_stream.c
index 11e6deb35de..9aca501007d 100644
--- a/source4/smbd/service_stream.c
+++ b/source4/smbd/service_stream.c
@@ -215,6 +215,7 @@ static void stream_new_connection(struct tevent_context *ev,
{
TALLOC_CTX *tmp_ctx;
const char *title;
+ struct server_id_buf idbuf;
tmp_ctx = talloc_new(srv_conn);
@@ -222,7 +223,7 @@ static void stream_new_connection(struct tevent_context *ev,
stream_socket->ops->name,
tsocket_address_string(srv_conn->remote_address, tmp_ctx),
tsocket_address_string(srv_conn->local_address, tmp_ctx),
- server_id_str(tmp_ctx, &server_id));
+ server_id_str_buf(server_id, &idbuf));
if (title) {
stream_connection_set_title(srv_conn, title);
}