summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-29 23:13:46 +0200
committerVolker Lendecke <vl@samba.org>2010-08-29 23:14:49 +0200
commitfbf3d03550495df58adeb291a44776270d6cf01d (patch)
tree10d9fc85ea1d2741ffe9d23ea536be7c9b347801 /source3/smbd
parentf687d43454cfc3bd293adfbb942358794c780b56 (diff)
downloadsamba-fbf3d03550495df58adeb291a44776270d6cf01d.tar.gz
samba-fbf3d03550495df58adeb291a44776270d6cf01d.tar.bz2
samba-fbf3d03550495df58adeb291a44776270d6cf01d.zip
s3: Fix an uninitialized variable
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 2ccb7d6a7c..6beed4fb3f 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2904,7 +2904,7 @@ static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn,
return NT_STATUS_NO_MEMORY;
}
- client_socket_addr(sconn->sock, addr, sizeof(addr));
+ client_socket_addr(sconn->sock, tmp_addr, sizeof(tmp_addr));
addr = talloc_strdup(cconn, tmp_addr);
if (addr == NULL) {
return NT_STATUS_NO_MEMORY;