From: Roy T. Fielding Date: Tue, 18 Jun 2002 00:33:26 +0000 (+0000) Subject: squash warnings X-Git-Tag: 2.0.40~448 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be3d2dc89b3f821a1da7cccd5a75b0d56d875175;p=apache squash warnings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95744 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htpasswd.c b/support/htpasswd.c index 3e622e5401..5ba73fd7b5 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -398,7 +398,7 @@ static void check_args(apr_pool_t *pool, int argc, const char *const argv[], } *pwfilename = apr_pstrdup(pool, argv[i]); if (strlen(argv[i + 1]) > (MAX_STRING_LEN - 1)) { - apr_file_printf(errfile, "%s: username too long (>%" APR_SIZE_T_FMT ")\n", + apr_file_printf(errfile, "%s: username too long (> %d)\n", argv[0], MAX_STRING_LEN - 1); exit(ERR_OVERFLOW); } @@ -411,7 +411,7 @@ static void check_args(apr_pool_t *pool, int argc, const char *const argv[], } if (*mask & NONINTERACTIVE) { if (strlen(argv[i + 2]) > (MAX_STRING_LEN - 1)) { - apr_file_printf(errfile, "%s: password too long (>%" APR_SIZE_T_FMT ")\n", + apr_file_printf(errfile, "%s: password too long (> %d)\n", argv[0], MAX_STRING_LEN); exit(ERR_OVERFLOW); }