X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/b68d83ad8b1a92565927c3b5a476b8e8ef4f693a..0ddebb8f377a5daa1f546f18a956db99c54685ca:/url.c diff --git a/url.c b/url.c index 5943841..d859bfa 100644 --- a/url.c +++ b/url.c @@ -48,10 +48,7 @@ * Use: Initializes a URL encoding context. */ -void url_initenc(url_ectx *ctx) -{ - ctx->f = 0; -} +void url_initenc(url_ectx *ctx) { ctx->f = 0; } /* --- @encode@ --- * * @@ -115,10 +112,7 @@ void url_enc(url_ectx *ctx, dstr *d, const char *name, const char *value) * Use: Initializes a URL decoding context. */ -void url_initdec(url_dctx *ctx, const char *p) -{ - ctx->p = p; -} +void url_initdec(url_dctx *ctx, const char *p) { ctx->p = p; } /* --- @decode@ --- * *