ben 96/03/27 03:45:08
Modified: src http_protocol.c Log: Don't use pstrcat to copy a string, use pstrdup. Revision Changes Path 1.12 +1 -1 apache/src/http_protocol.c Index: http_protocol.c =================================================================== RCS file: /export/home/cvs/apache/src/http_protocol.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C3 -r1.11 -r1.12 *** http_protocol.c 1996/03/26 20:31:27 1.11 --- http_protocol.c 1996/03/27 11:45:06 1.12 *************** *** 260,266 **** /* This routine parses full URLs, if they match the server */ if (strncmp(uri, "http://", 7)) return uri; ! name = pstrcat(r->pool, uri + 7,NULL); /* Find the hostname, assuming a valid request */ i = ind(name, '/'); --- 260,266 ---- /* This routine parses full URLs, if they match the server */ if (strncmp(uri, "http://", 7)) return uri; ! name = pstrdup(r->pool, uri + 7); /* Find the hostname, assuming a valid request */ i = ind(name, '/');