Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dcs_classifier
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
dcs_classifier
Commits
ec988c12
Commit
ec988c12
authored
Aug 13, 2014
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use DCS_TYPE_COUNT rather than a literal integer
parent
ea05e259
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gen_dcs_classifier.pl
src/gen_dcs_classifier.pl
+1
-1
No files found.
src/gen_dcs_classifier.pl
View file @
ec988c12
...
...
@@ -964,7 +964,7 @@ const char *dcs_checksum = DCS_CHECKSUM;
EOF
_VCL (F_CLASSIFIER_C, VCL_TOP,
'
const
char
*
const
dcs_type
[
'.scalar(keys %typeenum2nbtype)."
] = {\n\t".
"const char * const dcs_type[DCS_TYPE_COUNT
] = {\n\t".
join(",\n\t",
map { '
[
'.$_.'
]
=
"'.c_escape($typeenum2nbtype{$_}).'"' }
sort keys %typeenum2nbtype).
...
...
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