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
eba8c98e
Commit
eba8c98e
authored
May 15, 2013
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename a variable to get rid of 'shadows global declaration' warning
parent
88db48cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vsl_dispatch.c
lib/libvarnishapi/vsl_dispatch.c
+4
-4
No files found.
lib/libvarnishapi/vsl_dispatch.c
View file @
eba8c98e
...
...
@@ -495,18 +495,18 @@ vtx_check_ready(struct VSLQ *vslq, struct vtx *vtx)
}
static
int
vtx_parsetag_bl
(
const
char
*
str
,
unsigned
str
len
,
enum
VSL_transaction_e
*
ptype
,
vtx_parsetag_bl
(
const
char
*
str
,
unsigned
len
,
enum
VSL_transaction_e
*
ptype
,
unsigned
*
pvxid
)
{
char
ibuf
[
str
len
+
1
];
char
ibuf
[
len
+
1
];
char
tbuf
[
7
];
unsigned
vxid
;
int
i
;
enum
VSL_transaction_e
type
=
VSL_t_unknown
;
AN
(
str
);
memcpy
(
ibuf
,
str
,
str
len
);
ibuf
[
str
len
]
=
'\0'
;
memcpy
(
ibuf
,
str
,
len
);
ibuf
[
len
]
=
'\0'
;
i
=
sscanf
(
ibuf
,
"%6s %u"
,
tbuf
,
&
vxid
);
if
(
i
<
1
)
return
(
-
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