Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/libcli/cliconnect.c

    r414 r745  
    3636                           struct resolve_context *resolve_ctx,
    3737                           struct smbcli_options *options,
    38                            struct smb_iconv_convenience *iconv_convenience,
    3938               const char *socket_options)
    4039{
     
    4746        if (sock == NULL) return false;
    4847       
    49         cli->transport = smbcli_transport_init(sock, cli, true, options,
    50                                                                                    iconv_convenience);
     48        cli->transport = smbcli_transport_init(sock, cli, true, options);
    5149        if (!cli->transport) {
    5250                return false;
     
    155153                                struct smbcli_options *options,
    156154                                struct smbcli_session_options *session_options,
    157                                 struct smb_iconv_convenience *iconv_convenience,
    158155                                struct gensec_settings *gensec_settings)
    159156{
     
    170167                                             options,
    171168                                             session_options,
    172                                                  iconv_convenience,
    173169                                                 gensec_settings);
    174170        if (!NT_STATUS_IS_OK(status)) {
     
    239235        char *p;
    240236
    241         *hostname = *sharename = NULL;
    242 
    243237        if (strncmp(unc_name, "\\\\", 2) &&
    244238            strncmp(unc_name, "//", 2)) {
    245239                return false;
    246240        }
     241
     242        *hostname = *sharename = NULL;
    247243
    248244        *hostname = talloc_strdup(mem_ctx, &unc_name[2]);
Note: See TracChangeset for help on using the changeset viewer.