Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
Commits
fe9d181a
Commit
fe9d181a
authored
Feb 14, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align the iovec pointer
parent
ac859374
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cache_wrw.c
bin/varnishd/cache/cache_wrw.c
+2
-1
No files found.
bin/varnishd/cache/cache_wrw.c
View file @
fe9d181a
...
...
@@ -80,9 +80,10 @@ WRW_Reserve(struct worker *wrk, int *fd)
memset
(
wrw
,
0
,
sizeof
*
wrw
);
wrw
->
magic
=
WRW_MAGIC
;
u
=
WS_Reserve
(
wrk
->
aws
,
0
);
u
=
PRNDDN
(
u
);
u
/=
sizeof
(
struct
iovec
);
AN
(
u
);
wrw
->
iov
=
(
void
*
)
wrk
->
aws
->
f
;
wrw
->
iov
=
(
void
*
)
PRNDUP
(
wrk
->
aws
->
f
)
;
wrw
->
siov
=
u
;
wrw
->
ciov
=
u
;
wrw
->
werr
=
0
;
...
...
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