From 48b1a698908defd93926dae5072d2ada057c1c7a Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 19 Aug 2005 10:18:10 +0000 Subject: [PATCH] * 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 --- support/httxt2dbm.c | 14 +++++++------- 1 file 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; -- 2.40.0