diff options
author | Jeff Trawick <trawick@apache.org> | 2002-10-08 13:21:25 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-10-08 13:21:25 +0200 |
commit | 3cf507350f75f99c298c59d032b4434764777070 (patch) | |
tree | 61d08297d0e3070b01d37021cf27d700472797e0 /support/htpasswd.c | |
parent | fix context abbreviation code (diff) | |
download | apache2-3cf507350f75f99c298c59d032b4434764777070.tar.xz apache2-3cf507350f75f99c298c59d032b4434764777070.zip |
template parameter passed to apr_file_mktemp() must be modifiable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97142 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htpasswd.c')
-rw-r--r-- | support/htpasswd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/htpasswd.c b/support/htpasswd.c index d34063e3a2..c70ac9ee7a 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -407,7 +407,7 @@ static void check_args(apr_pool_t *pool, int argc, const char *const argv[], } } -static const char *get_tempname(apr_pool_t *p) +static char *get_tempname(apr_pool_t *p) { char tn[] = "htpasswd.tmp.XXXXXX"; char *dirname; @@ -431,7 +431,7 @@ int main(int argc, const char * const argv[]) char *password = NULL; char *pwfilename = NULL; char *user = NULL; - const char *tn; + char *tn; char scratch[MAX_STRING_LEN]; int found = 0; int i; |