summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-rw-r--r--libcli/nbt/nbtsocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/nbt/nbtsocket.c b/libcli/nbt/nbtsocket.c
index 33d53fba993..38a2192fbcd 100644
--- a/libcli/nbt/nbtsocket.c
+++ b/libcli/nbt/nbtsocket.c
@@ -62,7 +62,7 @@ static int nbt_name_request_destructor(struct nbt_name_request *req)
*/
static void nbt_name_socket_send(struct nbt_name_socket *nbtsock)
{
- struct nbt_name_request *req = nbtsock->send_queue;
+ struct nbt_name_request *req;
TALLOC_CTX *tmp_ctx = talloc_new(nbtsock);
NTSTATUS status;