summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7978b43)
raw | patch | inline | side by side (parent: 7978b43)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 8 Nov 2017 21:01:26 +0000 (22:01 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 8 Nov 2017 21:15:43 +0000 (22:15 +0100) |
src/varnish.c | patch | blob | history |
diff --git a/src/varnish.c b/src/varnish.c
index 69daa980c1ab1995925c1cce949c09d04794b0fe..ebc8e7aa00fe5051729164f26ebbd4048db921d4 100644 (file)
--- a/src/varnish.c
+++ b/src/varnish.c
{
uint64_t val;
const user_config_t *conf;
- const char *class;
const char *name;
if (pt == NULL)
strcpy(namebuff, c + 1);
name = namebuff;
- (void)class;
-
#elif HAVE_VARNISH_V4
+ const char *class;
+
class = pt->section->fantom->type;
name = pt->desc->name;
return 0;
#elif HAVE_VARNISH_V3
+ const char *class;
+
class = pt->class;
name = pt->name;