Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-tus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-tus
Commits
7af19490
Unverified
Commit
7af19490
authored
Aug 17, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix format strings
parent
3eb7ed2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tus_file.c
src/tus_file.c
+3
-3
No files found.
src/tus_file.c
View file @
7af19490
...
...
@@ -564,7 +564,7 @@ tus_file_add(struct VPFX(tus_server) *srv, int basefd, const char *filename)
const
char
*
err
;
if
(
fstatat
(
basefd
,
filename
,
&
st
,
AT_SYMLINK_NOFOLLOW
))
{
fprintf
(
stderr
,
"tus add stat %s: %
s
\n
"
,
filename
,
errno
);
fprintf
(
stderr
,
"tus add stat %s: %
d
\n
"
,
filename
,
errno
);
goto
err
;
}
...
...
@@ -576,13 +576,13 @@ tus_file_add(struct VPFX(tus_server) *srv, int basefd, const char *filename)
fd
=
openat
(
basefd
,
filename
,
O_RDWR
|
O_CLOEXEC
|
O_APPEND
);
if
(
fd
<
0
)
{
fprintf
(
stderr
,
"tus add open %s: %
s
\n
"
,
filename
,
errno
);
fprintf
(
stderr
,
"tus add open %s: %
d
\n
"
,
filename
,
errno
);
goto
err
;
}
fdisk
=
tus_mmap_header
(
fd
);
if
(
fdisk
==
NULL
)
{
fprintf
(
stderr
,
"tus add mmap %s: %
s
\n
"
,
filename
,
errno
);
fprintf
(
stderr
,
"tus add mmap %s: %
d
\n
"
,
filename
,
errno
);
goto
err
;
}
...
...
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