Commit 506968a1 authored by Geoff Simmons's avatar Geoff Simmons

const the member of the function call table

parent e4621463
......@@ -58,10 +58,10 @@ struct vmod_blobcode_blob {
.encode = hex_encode
static const struct vmod_blobcode_fptr {
len_f *decode_l;
decode_f *decode;
len_f *encode_l;
encode_f *encode;
len_f *const decode_l;
decode_f *const decode;
len_f *const encode_l;
encode_f *const encode;
} func[__MAX_ENCODING] = {
[_INVALID] = {
/* make implicit null init explicit for clarity */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment