summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-11 15:38:50 +0100
committerJeremy Allison <jra@samba.org>2007-11-11 13:14:06 -0800
commit50d9b94f6f7762fb4a86b020af461553422a71ad (patch)
tree9beebc09e292e65512acd0d9c3e3977d1adc76b0 /source3
parent2b3c44e4fb980335c22abcc07a88f32b13e5918f (diff)
downloadsamba-50d9b94f6f7762fb4a86b020af461553422a71ad.tar.gz
samba-50d9b94f6f7762fb4a86b020af461553422a71ad.tar.bz2
samba-50d9b94f6f7762fb4a86b020af461553422a71ad.zip
Remove a static fstring
I'm not sure why this used to be static, to me it seems that every time this variable is overwritten. I just don't see how name_status_find() could return true and not overwrite name. Can someone please review this and potentially check it in? Thanks, Volker (This used to be commit 329c688e4a9e69b71996fd1b0eee2202a849f3f5)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 2fdd1223f0..f0b03a85cf 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1806,7 +1806,7 @@ struct cli_state *get_ipc_connect(char *server,
struct cli_state *get_ipc_connect_master_ip(struct ip_service *mb_ip, pstring workgroup, struct user_auth_info *user_info)
{
char addr[INET6_ADDRSTRLEN];
- static fstring name;
+ fstring name;
struct cli_state *cli;
struct sockaddr_storage server_ss;