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
3220a178
Commit
3220a178
authored
Jan 05, 2016
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display the WRONG() message in VAS_Fail_default
parent
ac6cf0fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vas.c
lib/libvarnish/vas.c
+4
-4
No files found.
lib/libvarnish/vas.c
View file @
3220a178
/*-
* Copyright (c) 2006 Verdens Gang AS
* Copyright (c) 2006-201
1
Varnish Software AS
* Copyright (c) 2006-201
6
Varnish Software AS
* All rights reserved.
*
* Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
...
...
@@ -46,7 +46,7 @@ VAS_Fail_default(const char *func, const char *file, int line,
if
(
kind
==
VAS_MISSING
)
{
fprintf
(
stderr
,
"Missing errorhandling code in %s(), %s line %d:
\n
"
"Missing error
handling code in %s(), %s line %d:
\n
"
" Condition(%s) not true.
\n
"
,
func
,
file
,
line
,
cond
);
}
else
if
(
kind
==
VAS_INCOMPLETE
)
{
...
...
@@ -55,8 +55,8 @@ VAS_Fail_default(const char *func, const char *file, int line,
func
,
file
,
line
);
}
else
if
(
kind
==
VAS_WRONG
)
{
fprintf
(
stderr
,
"Wrong turn in %s(), %s line %d:
\n
"
,
func
,
file
,
line
);
"Wrong turn in %s(), %s line %d:
%s
\n
"
,
func
,
file
,
line
,
cond
);
}
else
{
fprintf
(
stderr
,
"Assert error in %s(), %s line %d:
\n
"
...
...
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