chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b68d83a
)
url: Whitespace cleanups.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 14 Mar 2006 16:41:39 +0000
(16:41 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 14 Mar 2006 16:41:39 +0000
(16:41 +0000)
url.c
patch
|
blob
|
blame
|
history
diff --git
a/url.c
b/url.c
index 5943841dea965ebced83a35875395eff80ea19dc..d859bfa922087a6bea68b8a7211cdec2ef2c88bf 100644
(file)
--- 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@ --- *
*