Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
6478eb26
Commit
6478eb26
authored
Jan 12, 2016
by
Thomas Guillem
Browse files
dsm: fix logs
parent
bed447c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/dsm/access.c
View file @
6478eb26
...
...
@@ -151,8 +151,6 @@ static int Open( vlc_object_t *p_this )
if
(
get_address
(
p_access
)
!=
VLC_SUCCESS
)
goto
error
;
msg_Dbg
(
p_access
,
"Creds: username = %s, domain = %s"
,
p_sys
->
creds
.
login
,
p_sys
->
creds
.
domain
);
msg_Dbg
(
p_access
,
"Session: Host name = %s, ip = %s"
,
p_sys
->
netbios_name
,
inet_ntoa
(
p_sys
->
addr
)
);
...
...
@@ -355,14 +353,16 @@ static int login( access_t *p_access )
goto
success
;
}
msg_Err
(
p_access
,
"Unable to login with username = %s, domain = %s"
,
p_sys
->
creds
.
login
,
p_sys
->
creds
.
domain
);
msg_Err
(
p_access
,
"Unable to login with username =
'
%s
'
, domain =
'
%s
'
"
,
psz_login
,
psz_
domain
);
goto
error
;
}
else
if
(
smb_session_is_guest
(
p_sys
->
p_session
)
)
msg_Warn
(
p_access
,
"Login failure but you were logged in as a Guest"
);
success:
msg_Dbg
(
p_access
,
"Creds: username = '%s', domain = '%s'"
,
psz_login
,
psz_domain
);
p_sys
->
creds
.
login
=
strdup
(
psz_login
);
p_sys
->
creds
.
password
=
strdup
(
psz_password
);
p_sys
->
creds
.
domain
=
strdup
(
psz_domain
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment