Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-file
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-file
Commits
8b4f8e77
Commit
8b4f8e77
authored
Feb 28, 2021
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shorten the blob returned by .id() a bit.
parent
7a9edc3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vmod_file.c
src/vmod_file.c
+2
-2
No files found.
src/vmod_file.c
View file @
8b4f8e77
...
...
@@ -699,7 +699,7 @@ VCL_BLOB
vmod_reader_id
(
VRT_CTX
,
struct
VPFX
(
file_reader
)
*
rdr
)
{
time_t
secs
;
long
nsecs
;
uint32_t
nsecs
;
dev_t
dev
;
ino_t
ino
;
uintptr_t
snap
;
...
...
@@ -714,7 +714,7 @@ vmod_reader_id(VRT_CTX, struct VPFX(file_reader) *rdr)
AZ
(
pthread_rwlock_rdlock
(
&
rdr
->
lock
));
ERRCHK
(
ctx
,
rdr
,
"id"
,
NULL
);
secs
=
rdr
->
info
->
mtime
.
tv_sec
;
nsecs
=
rdr
->
info
->
mtime
.
tv_nsec
;
nsecs
=
(
uint32_t
)
rdr
->
info
->
mtime
.
tv_nsec
;
dev
=
rdr
->
info
->
dev
;
ino
=
rdr
->
info
->
ino
;
AZ
(
pthread_rwlock_unlock
(
&
rdr
->
lock
));
...
...
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