diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-09-15 15:12:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:40 -0500 |
commit | 3a1d169864bbab8860e53c8baeaa02ebde369317 (patch) | |
tree | 8c250378d9e886ed25fb57675ada8f418c585c26 /source3 | |
parent | fe69a5e28dc24e97a1b601c49449beb3db6e4e6b (diff) | |
download | samba-3a1d169864bbab8860e53c8baeaa02ebde369317.tar.gz samba-3a1d169864bbab8860e53c8baeaa02ebde369317.tar.bz2 samba-3a1d169864bbab8860e53c8baeaa02ebde369317.zip |
r2351: Fix use of an uninitialized variable. valgrind is sooo useful.
Volker
(This used to be commit 11f617eafd5512dab89bc363662f8e6953c359d4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index b81f8ecd45..493255a5a6 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -609,7 +609,6 @@ static void wcache_save_name_to_sid(struct winbindd_domain *domain, { struct cache_entry *centry; fstring uname; - fstring sid_string; centry = centry_start(domain, status); if (!centry) @@ -619,7 +618,8 @@ static void wcache_save_name_to_sid(struct winbindd_domain *domain, fstrcpy(uname, name); strupper_m(uname); centry_end(centry, "NS/%s/%s", domain_name, uname); - DEBUG(10,("wcache_save_name_to_sid: %s -> %s\n", uname, sid_string)); + DEBUG(10,("wcache_save_name_to_sid: %s -> %s\n", uname, + sid_string_static(sid))); centry_free(centry); } |