Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
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
varnishevent3
Commits
79c2d962
Commit
79c2d962
authored
Mar 29, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanups from FlexeLint
parent
0393086a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
flint.lnt
bin/varnishncsa/flint.lnt
+1
-0
flint.sh
bin/varnishncsa/flint.sh
+1
-0
varnishncsa.c
bin/varnishncsa/varnishncsa.c
+3
-4
No files found.
bin/varnishncsa/flint.lnt
View file @
79c2d962
...
...
@@ -33,4 +33,5 @@
-e557 // unrecog format
-e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e788 // tag not used in defaulted switch
bin/varnishncsa/flint.sh
View file @
79c2d962
...
...
@@ -4,6 +4,7 @@ T=/tmp/_$$
flexelint
\
-I
/usr/include
\
-I
.
\
-I
../..
\
-I
../../include
\
../flint.lnt
\
flint.lnt
\
...
...
bin/varnishncsa/varnishncsa.c
View file @
79c2d962
...
...
@@ -65,14 +65,12 @@
SVNID
(
"$Id$"
)
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <
time
.h>
#include <
strings
.h>
#include <unistd.h>
#include <limits.h>
#include "compat/daemon.h"
...
...
@@ -112,7 +110,7 @@ static size_t nll;
static
int
o_flag
=
0
;
static
int
match_tag
;
static
vre_t
*
match_tag_re
;
static
const
vre_t
*
match_tag_re
;
static
const
char
*
format
;
...
...
@@ -677,6 +675,7 @@ h_ncsa(void *priv, enum vsl_tag tag, unsigned fd,
}
}
/* Fall through if we haven't handled something */
/* FALLTHROUGH*/
default:
fprintf
(
stderr
,
"Unknown format character: %c
\n
"
,
*
p
);
exit
(
1
);
...
...
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