summaryrefslogtreecommitdiff
path: root/uri
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2022-11-20 07:14:38 +0000
committerIvan Zhakov <ivan@apache.org>2022-11-20 07:14:38 +0000
commit4f9b76b6f2acc4030ce9ef164322514c5d0e761b (patch)
tree9b993b3753affcbf164056826f9d568d8760b3a1 /uri
parent961caf5f46055483fa72ab02f5e8baa16c209e2f (diff)
downloadapr-4f9b76b6f2acc4030ce9ef164322514c5d0e761b.tar.gz
Remove trailing whitespaces in *.c.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'uri')
-rw-r--r--uri/apr_uri.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/uri/apr_uri.c b/uri/apr_uri.c
index 8b22d462f..21fb38d8d 100644
--- a/uri/apr_uri.c
+++ b/uri/apr_uri.c
@@ -16,7 +16,7 @@
/*
* apr_uri.c: URI related utility things
- *
+ *
*/
#include <stdlib.h>
@@ -87,8 +87,8 @@ APR_DECLARE(apr_port_t) apr_uri_port_of_scheme(const char *scheme_str)
/* Unparse a apr_uri_t structure to an URI string.
* Optionally suppress the password for security reasons.
*/
-APR_DECLARE(char *) apr_uri_unparse(apr_pool_t *p,
- const apr_uri_t *uptr,
+APR_DECLARE(char *) apr_uri_unparse(apr_pool_t *p,
+ const apr_uri_t *uptr,
unsigned flags)
{
char *ret = "";
@@ -110,7 +110,7 @@ APR_DECLARE(char *) apr_uri_unparse(apr_pool_t *p,
: "",
((uptr->user && !(flags & APR_URI_UNP_OMITUSER)) ||
(uptr->password && !(flags & APR_URI_UNP_OMITPASSWORD)))
- ? "@" : "",
+ ? "@" : "",
NULL);
}
@@ -138,7 +138,7 @@ APR_DECLARE(char *) apr_uri_unparse(apr_pool_t *p,
ret = apr_pstrcat(p, uptr->scheme, ":", ret, NULL);
}
}
-
+
/* Should we suppress all path info? */
if (!(flags & APR_URI_UNP_OMITPATHINFO)) {
/* Append path, query and fragment strings: */
@@ -719,7 +719,7 @@ static const unsigned char uri_delims[256] = {
* - fills in fields of uri_components *uptr
* - none on any of the r->* fields
*/
-APR_DECLARE(apr_status_t) apr_uri_parse(apr_pool_t *p, const char *uri,
+APR_DECLARE(apr_status_t) apr_uri_parse(apr_pool_t *p, const char *uri,
apr_uri_t *uptr)
{
const char *s;
@@ -913,8 +913,8 @@ deal_with_host:
* currently at http://www.mcom.com/newsref/std/tunneling_ssl.html
* for the format of the "CONNECT host:port HTTP/1.0" request
*/
-APR_DECLARE(apr_status_t) apr_uri_parse_hostinfo(apr_pool_t *p,
- const char *hostinfo,
+APR_DECLARE(apr_status_t) apr_uri_parse_hostinfo(apr_pool_t *p,
+ const char *hostinfo,
apr_uri_t *uptr)
{
const char *s;