Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c539b3dd
Commit
c539b3dd
authored
Mar 24, 2009
by
Rémi Denis-Courmont
Committed by
Rémi Denis-Courmont
Mar 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmt
parent
02224055
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
modules/access/file.c
modules/access/file.c
+1
-1
modules/access/ftp.c
modules/access/ftp.c
+6
-6
modules/access/mmap.c
modules/access/mmap.c
+1
-1
No files found.
modules/access/file.c
View file @
c539b3dd
...
...
@@ -222,7 +222,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
default:
msg_Err
(
p_access
,
"failed to read (%m)"
);
dialog_Fatal
(
p_access
,
_
(
"File reading failed"
),
dialog_Fatal
(
p_access
,
_
(
"File reading failed"
),
"%s"
,
_
(
"VLC could not read the file."
));
p_access
->
info
.
b_eof
=
true
;
return
0
;
...
...
modules/access/ftp.c
View file @
c539b3dd
...
...
@@ -133,7 +133,7 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
if
(
fd
==
-
1
)
{
msg_Err
(
p_access
,
"connection failed"
);
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
"%s"
,
_
(
"VLC could not connect with the given server."
)
);
return
-
1
;
}
...
...
@@ -143,7 +143,7 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
if
(
i_answer
/
100
!=
2
)
{
msg_Err
(
p_access
,
"connection rejected"
);
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
"%s"
,
_
(
"VLC's connection to the given server was rejected."
)
);
return
-
1
;
}
...
...
@@ -208,8 +208,8 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
{
msg_Err
(
p_access
,
"account rejected"
);
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
_
(
"Your account was rejected."
)
);
_
(
"Network interaction failed"
),
"%s"
,
_
(
"Your account was rejected."
)
);
return
-
1
;
}
msg_Dbg
(
p_access
,
"account accepted"
);
...
...
@@ -218,13 +218,13 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
default:
msg_Err
(
p_access
,
"password rejected"
);
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
_
(
"Your password was rejected."
)
);
"%s"
,
_
(
"Your password was rejected."
)
);
return
-
1
;
}
break
;
default:
msg_Err
(
p_access
,
"user rejected"
);
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
dialog_Fatal
(
p_access
,
_
(
"Network interaction failed"
),
"%s"
,
_
(
"Your connection attempt to the server was rejected."
)
);
return
-
1
;
}
...
...
modules/access/mmap.c
View file @
c539b3dd
...
...
@@ -226,7 +226,7 @@ static block_t *Block (access_t *p_access)
if
(
addr
==
MAP_FAILED
)
{
msg_Err
(
p_access
,
"memory mapping failed (%m)"
);
dialog_Fatal
(
p_access
,
_
(
"File reading failed"
),
dialog_Fatal
(
p_access
,
_
(
"File reading failed"
),
"%s"
,
_
(
"VLC could not read the file."
));
goto
fatal
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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