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
3ffbaed8
Commit
3ffbaed8
authored
Jul 24, 2014
by
Poul-Henning Kamp
Committed by
Lasse Karstensen
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
White-space copy&paste fixups
parent
da49eb78
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
vtcp.c
lib/libvarnish/vtcp.c
+1
-1
vcc_expr.c
lib/libvcc/vcc_expr.c
+2
-2
vmod_debug.c
lib/libvmod_debug/vmod_debug.c
+1
-1
No files found.
lib/libvarnish/vtcp.c
View file @
3ffbaed8
...
...
@@ -324,5 +324,5 @@ VTCP_check_hup(int sock)
if
(
poll
(
&
pfd
,
1
,
0
)
==
1
&&
pfd
.
revents
&
POLLHUP
)
return
(
1
);
return
(
0
);
return
(
0
);
}
lib/libvcc/vcc_expr.c
View file @
3ffbaed8
...
...
@@ -1025,7 +1025,7 @@ vcc_expr_cmp(struct vcc *tl, struct expr **e, enum var_type fmt)
}
if
((
*
e
)
->
fmt
==
STRING
&&
(
tl
->
t
->
tok
==
'~'
||
tl
->
t
->
tok
==
T_NOMATCH
))
{
not
=
tl
->
t
->
tok
==
'~'
?
""
:
"!"
;
not
=
tl
->
t
->
tok
==
'~'
?
""
:
"!"
;
vcc_NextToken
(
tl
);
ExpectErr
(
tl
,
CSTR
);
re
=
vcc_regexp
(
tl
);
...
...
@@ -1037,7 +1037,7 @@ vcc_expr_cmp(struct vcc *tl, struct expr **e, enum var_type fmt)
}
if
((
*
e
)
->
fmt
==
IP
&&
(
tl
->
t
->
tok
==
'~'
||
tl
->
t
->
tok
==
T_NOMATCH
))
{
not
=
tl
->
t
->
tok
==
'~'
?
""
:
"!"
;
not
=
tl
->
t
->
tok
==
'~'
?
""
:
"!"
;
vcc_NextToken
(
tl
);
ExpectErr
(
tl
,
ID
);
vcc_AddRef
(
tl
,
tl
->
t
,
SYM_ACL
);
...
...
lib/libvmod_debug/vmod_debug.c
View file @
3ffbaed8
...
...
@@ -93,7 +93,7 @@ vmod_test_priv_vcl(const struct vrt_ctx *ctx, struct vmod_priv *priv)
{
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
assert
(
!
strcmp
(
priv
->
priv
,
"FOO"
));
assert
(
!
strcmp
(
priv
->
priv
,
"FOO"
));
}
VCL_BLOB
...
...
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