Commit 7f59f107 authored by Geoff Simmons's avatar Geoff Simmons

a bit of BSD-conforming whitespace fixes

parent 642059d1
......@@ -92,7 +92,7 @@ event(VRT_CTX, struct vmod_priv *priv, enum vcl_event_e event)
*/
static VCL_BLOB
base64_encode (struct ws *ws, const enum encoding enc, struct vmod_priv *rblob,
const char *in, size_t inlen)
const char *in, size_t inlen)
{
struct b64_alphabet *alpha = &b64_alphabet[enc];
struct wb_s wb;
......@@ -189,7 +189,7 @@ hexnibblelc(char c)
static VCL_BLOB
hex_encode_va(struct ws *ws, struct vmod_priv *rblob, const ssize_t len,
const char *in, va_list va)
const char *in, va_list va)
{
struct wb_s wb[1];
char *p;
......@@ -246,7 +246,7 @@ hex_encode_va(struct ws *ws, struct vmod_priv *rblob, const ssize_t len,
static VCL_BLOB
hex_encode(struct ws *ws, struct vmod_priv *rblob, const ssize_t len,
const char *in, ...)
const char *in, ...)
{
va_list ap;
VCL_BLOB r;
......@@ -289,7 +289,7 @@ vmod_encode(VRT_CTX, VCL_ENUM encs, VCL_BLOB b) {
case HEX:
case HEXLC: // XXX: lower-case?
r = hex_encode(ctx->ws, tmp, b->len, b->priv,
vrt_magic_string_end);
vrt_magic_string_end);
break;
default:
WRONG("Illegal encoding");
......@@ -323,6 +323,7 @@ vmod_transcode(VRT_CTX, VCL_ENUM decs, VCL_ENUM encs, const char *p, ...) {
return NULL;
return r->priv;
}
VCL_BLOB
vmod_transcode_blob(VRT_CTX, VCL_ENUM decs, VCL_ENUM encs, VCL_BLOB b) {
enum encoding dec = parse_encoding(decs);
......
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