Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
a81a1d53
Commit
a81a1d53
authored
Aug 22, 2023
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vte: Flexelinting
parent
928e2e8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vte.h
include/vte.h
+1
-1
vte.c
lib/libvarnish/vte.c
+2
-2
No files found.
include/vte.h
View file @
a81a1d53
...
...
@@ -44,5 +44,5 @@ int VTE_putc(struct vte *, char);
int
VTE_cat
(
struct
vte
*
,
const
char
*
);
int
VTE_printf
(
struct
vte
*
,
const
char
*
,
...)
v_printflike_
(
2
,
3
);
int
VTE_finish
(
struct
vte
*
);
int
VTE_format
(
struct
vte
*
,
VTE_format_f
*
func
,
void
*
priv
);
int
VTE_format
(
const
struct
vte
*
,
VTE_format_f
*
func
,
void
*
priv
);
void
VTE_destroy
(
struct
vte
**
);
lib/libvarnish/vte.c
View file @
a81a1d53
...
...
@@ -227,7 +227,7 @@ VTE_finish(struct vte *vte)
}
sep
=
(
vte
->
o_sz
-
vte
->
l_maxsz
)
/
vte
->
f_cnt
;
vte
->
o_sep
=
vlimit
(
sep
,
MINSEP
,
MAXSEP
);
vte
->
o_sep
=
vlimit
_t
(
int
,
sep
,
MINSEP
,
MAXSEP
);
return
(
0
);
}
...
...
@@ -238,7 +238,7 @@ VTE_finish(struct vte *vte)
} while (0)
int
VTE_format
(
struct
vte
*
vte
,
VTE_format_f
*
func
,
void
*
priv
)
VTE_format
(
const
struct
vte
*
vte
,
VTE_format_f
*
func
,
void
*
priv
)
{
int
fno
,
fsz
,
nsp
;
const
char
*
p
,
*
q
;
...
...
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