Changeset 745 for trunk/server/source4/libcli/cliconnect.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source4/libcli/cliconnect.c
r414 r745 36 36 struct resolve_context *resolve_ctx, 37 37 struct smbcli_options *options, 38 struct smb_iconv_convenience *iconv_convenience,39 38 const char *socket_options) 40 39 { … … 47 46 if (sock == NULL) return false; 48 47 49 cli->transport = smbcli_transport_init(sock, cli, true, options, 50 iconv_convenience); 48 cli->transport = smbcli_transport_init(sock, cli, true, options); 51 49 if (!cli->transport) { 52 50 return false; … … 155 153 struct smbcli_options *options, 156 154 struct smbcli_session_options *session_options, 157 struct smb_iconv_convenience *iconv_convenience,158 155 struct gensec_settings *gensec_settings) 159 156 { … … 170 167 options, 171 168 session_options, 172 iconv_convenience,173 169 gensec_settings); 174 170 if (!NT_STATUS_IS_OK(status)) { … … 239 235 char *p; 240 236 241 *hostname = *sharename = NULL;242 243 237 if (strncmp(unc_name, "\\\\", 2) && 244 238 strncmp(unc_name, "//", 2)) { 245 239 return false; 246 240 } 241 242 *hostname = *sharename = NULL; 247 243 248 244 *hostname = talloc_strdup(mem_ctx, &unc_name[2]);
Note:
See TracChangeset
for help on using the changeset viewer.