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
f52ac7b8
Unverified
Commit
f52ac7b8
authored
Sep 10, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polish
parent
75790349
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tus_file.c
src/tus_file.c
+4
-2
No files found.
src/tus_file.c
View file @
f52ac7b8
...
@@ -461,6 +461,8 @@ tus_file_fini(struct tus_file_core *fcore)
...
@@ -461,6 +461,8 @@ tus_file_fini(struct tus_file_core *fcore)
fdisk
=
fcore
->
disk
;
fdisk
=
fcore
->
disk
;
CHECK_TUS_FILE_DISK
(
fdisk
);
CHECK_TUS_FILE_DISK
(
fdisk
);
AZ
(
fcore
->
srvref
);
AZ
(
fcore
->
ref
);
if
(
fdisk
->
type
==
TUS_FINAL
)
{
if
(
fdisk
->
type
==
TUS_FINAL
)
{
tus_file_final_fini
(
fcore
);
tus_file_final_fini
(
fcore
);
...
@@ -486,13 +488,13 @@ tus_file_fini(struct tus_file_core *fcore)
...
@@ -486,13 +488,13 @@ tus_file_fini(struct tus_file_core *fcore)
int
int
tus_file_trylock
(
struct
tus_file_core
**
fcorep
)
tus_file_trylock
(
struct
tus_file_core
**
fcorep
)
{
{
int
err
=
EINVAL
;
int
err
;
struct
tus_file_core
*
fcore
;
struct
tus_file_core
*
fcore
;
AN
(
fcorep
);
AN
(
fcorep
);
fcore
=
*
fcorep
;
fcore
=
*
fcorep
;
if
(
fcore
==
NULL
)
if
(
fcore
==
NULL
)
return
(
err
);
return
(
EINVAL
);
CHECK_OBJ
(
fcore
,
VMOD_TUS_FILE_CORE_MAGIC
);
CHECK_OBJ
(
fcore
,
VMOD_TUS_FILE_CORE_MAGIC
);
do
{
do
{
...
...
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