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
cb12bdd8
Commit
cb12bdd8
authored
Jun 13, 2016
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vmodtool: fix first argument starting on new line
Fixes issue reported by @carlosabalde in #1976
parent
c4183dc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
vmodtool.py
lib/libvcc/vmodtool.py
+1
-1
vmod.vcc
lib/libvmod_debug/vmod.vcc
+2
-1
No files found.
lib/libvcc/vmodtool.py
View file @
cb12bdd8
...
...
@@ -288,7 +288,7 @@ class prototype(object):
s
=
s
[
i
:]
.
strip
()
assert
s
[
0
]
==
"("
assert
s
[
-
1
]
==
")"
s
=
s
[
1
:
-
1
]
s
=
s
[
1
:
-
1
]
.
lstrip
()
self
.
args
=
[]
while
len
(
s
)
>
0
:
a
,
s
=
arg
(
s
)
...
...
lib/libvmod_debug/vmod.vcc
View file @
cb12bdd8
...
...
@@ -94,7 +94,8 @@ $Function VOID rot52(HTTP hdr)
Encrypt the HTTP header with quad-ROT13 encryption,
(this is approx 33% better than triple-DES).
$Function STRING argtest(STRING one, REAL two=2, STRING three="3",
$Function STRING argtest(
STRING one, REAL two=2, STRING three="3",
STRING comma=",", INT four=4)
$Function INT vre_limit()
...
...
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