diff options
author | Tim Potter <tpot@samba.org> | 2001-03-01 06:36:57 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-03-01 06:36:57 +0000 |
commit | 33e5c56ab049fe5e156579dbf2f9cd54897f1dd3 (patch) | |
tree | e7a53a9505135d8bfe49fb09ef5787ccd36b2700 | |
parent | a648935ae93f781aedba8f89b0071a24e42f4543 (diff) | |
download | samba-33e5c56ab049fe5e156579dbf2f9cd54897f1dd3.tar.gz samba-33e5c56ab049fe5e156579dbf2f9cd54897f1dd3.tar.xz samba-33e5c56ab049fe5e156579dbf2f9cd54897f1dd3.zip |
Fixed compiler warning.
-rw-r--r-- | source/libsmb/cliconnect.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index fd0218b9086..f2f9b89ea44 100644 --- a/source/libsmb/cliconnect.c +++ b/source/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); |