summaryrefslogtreecommitdiff
path: root/libcli/nbt
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/nbt')
-rw-r--r--libcli/nbt/namerefresh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcli/nbt/namerefresh.c b/libcli/nbt/namerefresh.c
index f6221dd602..65a891353e 100644
--- a/libcli/nbt/namerefresh.c
+++ b/libcli/nbt/namerefresh.c
@@ -152,7 +152,7 @@ struct nbt_name_refresh_wins_state {
struct nbt_name_request *req;
};
-static void name_refresh_wins_handler(struct nbt_name_request *req);
+static void nbt_name_refresh_wins_handler(struct nbt_name_request *req);
/**
the async send call for a multi-server WINS refresh
@@ -197,7 +197,7 @@ _PUBLIC_ struct composite_context *nbt_name_refresh_wins_send(struct nbt_name_so
state->req = nbt_name_refresh_send(nbtsock, state->io);
if (state->req == NULL) goto failed;
- state->req->async.fn = name_refresh_wins_handler;
+ state->req->async.fn = nbt_name_refresh_wins_handler;
state->req->async.private_data = c;
c->private_data = state;
@@ -215,7 +215,7 @@ failed:
/**
state handler for WINS multi-homed multi-server name refresh
*/
-static void name_refresh_wins_handler(struct nbt_name_request *req)
+static void nbt_name_refresh_wins_handler(struct nbt_name_request *req)
{
struct composite_context *c = talloc_get_type(req->async.private_data,
struct composite_context);
@@ -241,7 +241,7 @@ static void name_refresh_wins_handler(struct nbt_name_request *req)
c->state = COMPOSITE_STATE_ERROR;
c->status = NT_STATUS_NO_MEMORY;
} else {
- state->req->async.fn = name_refresh_wins_handler;
+ state->req->async.fn = nbt_name_refresh_wins_handler;
state->req->async.private_data = c;
}
} else if (!NT_STATUS_IS_OK(status)) {
@@ -257,7 +257,7 @@ static void name_refresh_wins_handler(struct nbt_name_request *req)
c->state = COMPOSITE_STATE_ERROR;
c->status = NT_STATUS_NO_MEMORY;
} else {
- state->req->async.fn = name_refresh_wins_handler;
+ state->req->async.fn = nbt_name_refresh_wins_handler;
state->req->async.private_data = c;
}
} else {