Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blobcode
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
libvmod-blobcode
Commits
0a341b84
Commit
0a341b84
authored
Jan 31, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some bugs uncovered by compiling with clang
parent
677fdf53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
vmod_blobcode.c
src/vmod_blobcode.c
+5
-3
No files found.
src/vmod_blobcode.c
View file @
0a341b84
...
...
@@ -38,6 +38,8 @@
#include "vmod_blobcode.h"
#include "wb.h"
#define MAX_VCL_ERRMSG 64
struct
vmod_blobcode_blob
{
unsigned
magic
;
#define VMOD_BLOBCODE_BLOB_MAGIC 0xfade4fa9
...
...
@@ -67,7 +69,7 @@ struct vmod_blobcode_blob {
#define ILLEGAL(ctx, m) \
ERR((ctx), m " is illegal in vcl_init() and vcl_fini().")
static
const
struct
vmod_priv
const
null_blob
[
1
]
=
static
const
struct
vmod_priv
null_blob
[
1
]
=
{
{
.
priv
=
""
,
...
...
@@ -157,8 +159,8 @@ errmsg(VRT_CTX, const char *fmt, ...)
else
if
(
ctx
->
vsl
)
VSLbv
(
ctx
->
vsl
,
SLT_VCL_Error
,
fmt
,
args
);
else
/*
An error message in vcl_fini() cannot be formatted
*/
VSL
(
SLT_VCL_Error
,
0
,
fmt
);
/*
Should this ever happen in vcl_fini() ...
*/
VSL
(
SLT_VCL_Error
,
0
,
fmt
,
args
);
va_end
(
args
);
}
...
...
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