summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-06-12 01:33:30 +0000
committerTim Potter <tpot@samba.org>2002-06-12 01:33:30 +0000
commit3838eabc0e9ba2ef91d90a406767814ab61bc18a (patch)
tree7f07ab94aad60ad4652fc945ad4214f0907a5552 /source3/libsmb
parent2d64b9880744746d4317d9da45c575b3a8fbbed1 (diff)
downloadsamba-3838eabc0e9ba2ef91d90a406767814ab61bc18a.tar.gz
samba-3838eabc0e9ba2ef91d90a406767814ab61bc18a.tar.bz2
samba-3838eabc0e9ba2ef91d90a406767814ab61bc18a.zip
Removed eff_name field from cli_struct as it wasn't being used anywhere.
(This used to be commit aff65bf6c9f339ae1d3122d12114005c017b9b5d)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 3eb9586a67..2064e14954 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/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));
}