summaryrefslogtreecommitdiff
path: root/source3/libsmb/passchange.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-11-12 13:56:33 -0800
committerJeremy Allison <jra@samba.org>2009-11-12 13:56:33 -0800
commit5363d6e62c2d4d3275e78d04c48835524c54f620 (patch)
treea7570c052a33168acbf0ce74b9685a3ba7bf6355 /source3/libsmb/passchange.c
parent6747a91ca0c350374c54bac5892cf96e5aed029f (diff)
downloadsamba-5363d6e62c2d4d3275e78d04c48835524c54f620.tar.gz
samba-5363d6e62c2d4d3275e78d04c48835524c54f620.tar.bz2
samba-5363d6e62c2d4d3275e78d04c48835524c54f620.zip
Ensure all callers to the rpc_client/cli_pipe functions correctly
initialize return variables. Jeremy.
Diffstat (limited to 'source3/libsmb/passchange.c')
-rw-r--r--source3/libsmb/passchange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 570a048502..e8c412be46 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -28,8 +28,8 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
char **err_str)
{
struct nmb_name calling, called;
- struct cli_state *cli;
- struct rpc_pipe_client *pipe_hnd;
+ struct cli_state *cli = NULL;
+ struct rpc_pipe_client *pipe_hnd = NULL;
struct sockaddr_storage ss;
char *user, *domain, *p;