summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-03-01 06:36:57 +0000
committerTim Potter <tpot@samba.org>2001-03-01 06:36:57 +0000
commitff2616aaf90ceb744379a2c4a9f69edea6d720e2 (patch)
tree823f4e4b82d9d16942245610e506c540cbab704a
parent5161c61bc7d2e3c8ee370bdedd755580445a2107 (diff)
downloadsamba-ff2616aaf90ceb744379a2c4a9f69edea6d720e2.tar.gz
samba-ff2616aaf90ceb744379a2c4a9f69edea6d720e2.tar.bz2
samba-ff2616aaf90ceb744379a2c4a9f69edea6d720e2.zip
Fixed compiler warning.
(This used to be commit 33e5c56ab049fe5e156579dbf2f9cd54897f1dd3)
-rw-r--r--source3/libsmb/cliconnect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index fd0218b908..f2f9b89ea4 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -192,10 +192,10 @@ BOOL cli_session_setup(struct cli_state *cli,
* Save off some of the connected server
* info.
*/
- char *p = smb_buf(cli->inbuf);
- p += clistr_pull(cli, cli->server_os, p, sizeof(fstring), -1, CLISTR_TERMINATE|CLISTR_CONVERT);
- p += clistr_pull(cli, cli->server_type, p, sizeof(fstring), -1, CLISTR_TERMINATE|CLISTR_CONVERT);
- p += clistr_pull(cli, cli->server_domain, p, sizeof(fstring), -1, CLISTR_TERMINATE|CLISTR_CONVERT);
+ char *q = smb_buf(cli->inbuf);
+ q += clistr_pull(cli, cli->server_os, q, sizeof(fstring), -1, CLISTR_TERMINATE|CLISTR_CONVERT);
+ q += clistr_pull(cli, cli->server_type, q, sizeof(fstring), -1, CLISTR_TERMINATE|CLISTR_CONVERT);
+ q += clistr_pull(cli, cli->server_domain, q, sizeof(fstring), -1, CLISTR_TERMINATE|CLISTR_CONVERT);
}
fstrcpy(cli->user_name, user);