mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user