diff options
author | Tim Potter <tpot@samba.org> | 2002-06-12 01:33:30 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-06-12 01:33:30 +0000 |
commit | aff65bf6c9f339ae1d3122d12114005c017b9b5d (patch) | |
tree | f7d8c2b0a743891b05b285a9381aace70c60f717 /source | |
parent | 88718883e031a3249152861300432dfc895ac587 (diff) | |
download | samba-aff65bf6c9f339ae1d3122d12114005c017b9b5d.tar.gz samba-aff65bf6c9f339ae1d3122d12114005c017b9b5d.tar.xz samba-aff65bf6c9f339ae1d3122d12114005c017b9b5d.zip |
Removed eff_name field from cli_struct as it wasn't being used anywhere.
Diffstat (limited to 'source')
-rw-r--r-- | source/include/client.h | 1 | ||||
-rw-r--r-- | source/libsmb/clirap.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/include/client.h b/source/include/client.h index 15fc168cbba..90ba30c7ddd 100644 --- a/source/include/client.h +++ b/source/include/client.h @@ -76,7 +76,6 @@ struct cli_state { int rap_error; int privileges; - fstring eff_name; fstring desthost; fstring user_name; fstring domain; diff --git a/source/libsmb/clirap.c b/source/libsmb/clirap.c index 3eb9586a675..2064e149543 100644 --- a/source/libsmb/clirap.c +++ b/source/libsmb/clirap.c @@ -117,7 +117,8 @@ BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation) if (cli->rap_error == 0) { DEBUG(4,("NetWkstaUserLogon success\n")); cli->privileges = SVAL(p, 24); - fstrcpy(cli->eff_name,p+2); + /* The cli->eff_name field used to be set here + but it wasn't used anywhere else. */ } else { DEBUG(1,("NetwkstaUserLogon gave error %d\n", cli->rap_error)); } |