git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93072
13f79535-47bb-0310-9956-
ffa450edef68
char *str1;
char str2[512];
char str3[1024];
- char type[20];
- char redir[20];
+ char *type;
+ char redir[20]; /* enough for "/redir#%d" if int is 32 bit */
va_list ap;
int i;
apr_size_t nbytes;
apr_vsnprintf(str2, sizeof(str2), text, ap);
if (r->main == NULL) {
- strcpy(type, "initial");
+ type = "initial";
}
else {
- strcpy(type, "subreq");
+ type = "subreq";
}
for (i = 0, req = r; req->prev != NULL; req = req->prev) {