diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 05:49:36 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 05:49:36 +0100 |
commit | c537f7a91449728bbffdda628877f72db2d4e96b (patch) | |
tree | c8589d1c9a7dd0bd62ff8344dd8f523033cc7e37 /source4/libcli | |
parent | 29177203e5da4cb42e0c5bc2f2981d6cffbe042c (diff) | |
download | samba-c537f7a91449728bbffdda628877f72db2d4e96b.tar.gz samba-c537f7a91449728bbffdda628877f72db2d4e96b.tar.bz2 samba-c537f7a91449728bbffdda628877f72db2d4e96b.zip |
Fix the build.
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/smb2/connect.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c index 27c78fbce0..e7aa8c753d 100644 --- a/source4/libcli/smb2/connect.c +++ b/source4/libcli/smb2/connect.c @@ -239,7 +239,6 @@ struct composite_context *smb2_connect_send(TALLOC_CTX *mem_ctx, const char *socket_options) { struct composite_context *c; - const char *default_ports[] = { "445", NULL }; struct smb2_connect_state *state; struct nbt_name name; struct composite_context *creq; @@ -256,7 +255,6 @@ struct composite_context *smb2_connect_send(TALLOC_CTX *mem_ctx, state->host = talloc_strdup(c, host); if (composite_nomem(state->host, c)) return c; state->ports = talloc_reference(state, ports); - if (composite_nomem(state->ports, c)) return c; state->share = talloc_strdup(c, share); if (composite_nomem(state->share, c)) return c; state->resolve_ctx = talloc_reference(state, resolve_ctx); |