diff options
author | Jeremy Allison <jra@samba.org> | 2002-07-18 01:50:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-07-18 01:50:58 +0000 |
commit | a754c80ae0b71487cd2daf79d7928b6c00f15099 (patch) | |
tree | d40a45f5382759eabc6d0c7ab9fc77f69228cf12 /source3 | |
parent | 29426b4a50275e24020ae67898cd7d156a341a7f (diff) | |
download | samba-a754c80ae0b71487cd2daf79d7928b6c00f15099.tar.gz samba-a754c80ae0b71487cd2daf79d7928b6c00f15099.tar.bz2 samba-a754c80ae0b71487cd2daf79d7928b6c00f15099.zip |
Use of uninitialized variable caught by valgrind.
Jeremy.
(This used to be commit 44410af397c386f58067679012856150b07b47e8)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 9ac610ab5a..e048201c4b 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -797,7 +797,7 @@ connection_struct *make_connection(const char *service_in, DATA_BLOB password, } } } else if ((lp_security() != SEC_SHARE) && (vuser->homes_snum != -1) - && strequal(service, lp_servicename(vuser->homes_snum))) { + && strequal(service_in, lp_servicename(vuser->homes_snum))) { DATA_BLOB no_pw = data_blob(NULL, 0); DEBUG(5, ("making a connection to 'homes' service [%s] created at session setup time\n", service)); return make_connection_snum(vuser->homes_snum, |