summaryrefslogtreecommitdiffstats
path: root/support/httxt2dbm.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2005-08-19 12:18:10 +0200
committerJoe Orton <jorton@apache.org>2005-08-19 12:18:10 +0200
commit48b1a698908defd93926dae5072d2ada057c1c7a (patch)
treed74da0d4a12453da3cb2c1f31ba2ea294efeaa30 /support/httxt2dbm.c
parentDo not check the value of r->handler. (diff)
downloadapache2-48b1a698908defd93926dae5072d2ada057c1c7a.tar.xz
apache2-48b1a698908defd93926dae5072d2ada057c1c7a.zip
* support/httxt2dbm.c: Fix some style nits, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@233462 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/httxt2dbm.c')
-rw-r--r--support/httxt2dbm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/support/httxt2dbm.c b/support/httxt2dbm.c
index 6e24e8019d..023f02d4b2 100644
--- a/support/httxt2dbm.c
+++ b/support/httxt2dbm.c
@@ -54,10 +54,10 @@ static int verbose;
static void usage(void)
{
- const char* have_sdbm;
- const char* have_gdbm;
- const char* have_ndbm;
- const char* have_db;
+ const char *have_sdbm;
+ const char *have_gdbm;
+ const char *have_ndbm;
+ const char *have_db;
#if APU_HAVE_SDBM
have_sdbm = AVAIL;
@@ -138,7 +138,7 @@ static apr_status_t to_dbm(apr_dbm_t *dbm, apr_file_t *fp, apr_pool_t *pool)
dbmkey.dptr = apr_pstrmemdup(p, line, c - line);
dbmkey.dsize = (c - line);
- while(*c && apr_isspace(*c)) {
+ while (*c && apr_isspace(*c)) {
++c;
}
@@ -149,7 +149,7 @@ static apr_status_t to_dbm(apr_dbm_t *dbm, apr_file_t *fp, apr_pool_t *pool)
value = c;
- while(*c && !apr_isspace(*c)) {
+ while (*c && !apr_isspace(*c)) {
++c;
}
@@ -173,7 +173,7 @@ static apr_status_t to_dbm(apr_dbm_t *dbm, apr_file_t *fp, apr_pool_t *pool)
return rv;
}
-int main(int argc, const char* const argv[])
+int main(int argc, const char *const argv[])
{
apr_pool_t *pool;
apr_status_t rv = APR_SUCCESS;