1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Don't try to compare more than strlen chars

This commit is contained in:
Yang Tse 2008-02-06 17:35:17 +00:00
parent fecb67b246
commit bad6410d08

View File

@ -665,7 +665,7 @@ static int validate_access(struct testcase *test,
logmsg("trying to get file: %s mode %x", filename, mode);
if(!strncmp("verifiedserver", filename, 15)) {
if(!strncmp("verifiedserver", filename, 14)) {
char weare[128];
size_t count = sprintf(weare, "WE ROOLZ: %ld\r\n", (long)getpid());